com.trackstudio.secured
Class SecuredScriptBean

java.lang.Object
  extended by com.trackstudio.secured.Secured
      extended by com.trackstudio.secured.SecuredScriptBean
All Implemented Interfaces:
java.lang.Comparable

public class SecuredScriptBean
extends Secured

Bean which represents script


Field Summary
 
Fields inherited from class com.trackstudio.secured.Secured
sc
 
Constructor Summary
SecuredScriptBean(Script script, SessionContext sc)
           
 
Method Summary
 boolean canUpdate()
           
 boolean canView()
           
 int compareTo(java.lang.Object o)
           
 boolean getCanUpdate()
           
 java.lang.String getDescription()
           
 java.lang.String getEncodeDescription()
           
 java.lang.String getEncodeName()
           
 java.lang.String getId()
           
 java.lang.String getLongtextId()
           
 java.lang.String getName()
           
 SecuredUserBean getOwner()
           
 java.lang.String getOwnerId()
           
 java.lang.String getScript()
           
 java.lang.String getScriptTypeId()
           
 java.lang.String getScriptTypeName()
           
 ScriptBean getSOAP()
           
 
Methods inherited from class com.trackstudio.secured.Secured
compare, equals, getSecure, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredScriptBean

public SecuredScriptBean(Script script,
                         SessionContext sc)
                  throws GranException
Throws:
GranException
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in class Secured

getName

public java.lang.String getName()

getEncodeName

public java.lang.String getEncodeName()

compareTo

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

getOwner

public SecuredUserBean getOwner()
                         throws GranException
Throws:
GranException

canUpdate

public boolean canUpdate()
                  throws GranException
Specified by:
canUpdate in class Secured
Throws:
GranException

getCanUpdate

public boolean getCanUpdate()
                     throws GranException
Overrides:
getCanUpdate in class Secured
Throws:
GranException

canView

public boolean canView()
                throws GranException
Specified by:
canView in class Secured
Throws:
GranException

getOwnerId

public java.lang.String getOwnerId()

getLongtextId

public java.lang.String getLongtextId()

getScriptTypeId

public java.lang.String getScriptTypeId()

getScriptTypeName

public java.lang.String getScriptTypeName()

getDescription

public java.lang.String getDescription()

getEncodeDescription

public java.lang.String getEncodeDescription()

getScript

public java.lang.String getScript()
                           throws GranException
Throws:
GranException

getSOAP

public ScriptBean getSOAP()
                   throws GranException
Throws:
GranException


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