Class ServiceInterceptorDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.system.interceptors.ServiceInterceptorDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
public class ServiceInterceptorDTO extends ConfigurationEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,ServiceInterceptorDTO>ENABLEDstatic SetProperty<String,ServiceInterceptorDTO>OPERATIONSstatic BasicProperty<CustomScriptVO,ServiceInterceptorDTO>SCRIPTstatic BasicProperty<String,ServiceInterceptorDTO>SCRIPT_PARAMETERSstatic SetProperty<String,ServiceInterceptorDTO>SERVICES-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description ServiceInterceptorDTO()ServiceInterceptorDTO(Long id)ServiceInterceptorDTO(Property<T,? super ServiceInterceptorDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()Set<String>getOperations()CustomScriptVOgetScript()StringgetScriptParameters()Set<String>getServices()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetOperations(Set<String> operations)voidsetScript(CustomScriptVO script)voidsetScriptParameters(String scriptParameters)voidsetServices(Set<String> services)-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ENABLED
public static final BasicProperty<Boolean,ServiceInterceptorDTO> ENABLED
-
OPERATIONS
public static final SetProperty<String,ServiceInterceptorDTO> OPERATIONS
-
SCRIPT
public static final BasicProperty<CustomScriptVO,ServiceInterceptorDTO> SCRIPT
-
SCRIPT_PARAMETERS
public static final BasicProperty<String,ServiceInterceptorDTO> SCRIPT_PARAMETERS
-
SERVICES
public static final SetProperty<String,ServiceInterceptorDTO> SERVICES
-
-
Constructor Detail
-
ServiceInterceptorDTO
public ServiceInterceptorDTO()
-
ServiceInterceptorDTO
public ServiceInterceptorDTO(Long id)
-
ServiceInterceptorDTO
public ServiceInterceptorDTO(Property<T,? super ServiceInterceptorDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityDTO
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getScript
public CustomScriptVO getScript()
-
setScript
public void setScript(CustomScriptVO script)
-
getScriptParameters
public String getScriptParameters()
-
setScriptParameters
public void setScriptParameters(String scriptParameters)
-
-