public boolean isPreviewSessionExpired ( ) { Long urlCreationTime = getUrlCreationTime ( ) ; if ( urlCreationTime == null ) { return true ; } return ( System . currentTimeMillis ( ) - urlCreationTime ) < ( 60 * 60 * 1000 ) ; }
Convenience method to check if 60 minutes has passed since the time this link was created .