com.trackstudio.secured
Class Secured

java.lang.Object
  extended by com.trackstudio.secured.Secured
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
AbstractBeanWithUdf, SecuredAclBean, SecuredAttachmentBean, SecuredCategoryBean, SecuredContentTypeBean, SecuredCurrentFilterBean, SecuredEmailTypeBean, SecuredFilterBean, SecuredFilterTypeBean, SecuredFromTypeBean, SecuredFValueBean, SecuredMailImportBean, SecuredMessageBean, SecuredMstatusBean, SecuredNotificationBean, SecuredPriorityBean, SecuredPrstatusBean, SecuredRegistrationBean, SecuredReportBean, SecuredResolutionBean, SecuredRtypeBean, SecuredScriptBean, SecuredScriptTypeBean, SecuredStatusBean, SecuredSubscriberBean, SecuredTransitionBean, SecuredUDFBean, SecuredUdflistBean, SecuredUDFValueBean, SecuredWorkflowBean

public abstract class Secured
extends java.lang.Object
implements java.lang.Comparable

Secured object


Field Summary
protected  SessionContext sc
           
 
Constructor Summary
Secured()
           
 
Method Summary
abstract  boolean canUpdate()
           
abstract  boolean canView()
           
protected static int compare(java.lang.String ida, java.lang.String namea, java.lang.String idb, java.lang.String nameb)
           
abstract  int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object obj)
           
 boolean getCanUpdate()
           
protected abstract  java.lang.String getId()
           
 SessionContext getSecure()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sc

protected SessionContext sc
Constructor Detail

Secured

public Secured()
Method Detail

getSecure

public SessionContext getSecure()

getId

protected abstract java.lang.String getId()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

public abstract int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

compare

protected static int compare(java.lang.String ida,
                             java.lang.String namea,
                             java.lang.String idb,
                             java.lang.String nameb)

canUpdate

public abstract boolean canUpdate()
                           throws GranException
Throws:
GranException

getCanUpdate

public boolean getCanUpdate()
                     throws GranException
Throws:
GranException

canView

public abstract boolean canView()
                         throws GranException
Throws:
GranException


Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.