Package org.cyclos.entities.system
Class ServiceInterceptor
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasOrder,ProcessableForDataTranslation,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class ServiceInterceptor extends ConfigurationOrderableEntity implements DefinesNetwork
A service interceptor works like an AOP pointcut, defining the intercepted operations for a script
-
-
Constructor Summary
Constructors Constructor Description ServiceInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkgetNetwork()Returns the network this entity belongs toStringgetOperations()CustomScriptgetScript()StringgetScriptParameters()StringgetServices()booleanisAllOperations()booleanisAllServices()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetNetwork(Network network)voidsetOperations(String operations)voidsetScript(CustomScript script)voidsetScriptParameters(String scriptParameters)voidsetServices(String services)-
Methods inherited from class org.cyclos.entities.ConfigurationOrderableEntity
compareTo, getOrder, setOrder, toString
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Method Detail
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getOperations
public String getOperations()
-
getScript
public CustomScript getScript()
-
getScriptParameters
public String getScriptParameters()
-
getServices
public String getServices()
-
isAllOperations
public boolean isAllOperations()
-
isAllServices
public boolean isAllServices()
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setOperations
public void setOperations(String operations)
-
setScript
public void setScript(CustomScript script)
-
setScriptParameters
public void setScriptParameters(String scriptParameters)
-
setServices
public void setServices(String services)
-
-