Package com.redwood.scheduler.api.model
Interface RegistryEntry
- 
- All Superinterfaces:
- BusinessKeyObject,- NamedRootObject,- NamedRootObjectComp,- Readable,- RegistryEntryComp,- Root,- SchedulerEntity,- SchedulerEntityComp
 
 public interface RegistryEntry extends RegistryEntryComp, NamedRootObject, BusinessKeyObject, Readable Registry entry storing product-specific configuration settings. A registry entry can have a value associated with it, as well as child entries.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringALLOW_SUN_IMPORT_REGISTRY_ENTRYIf this entry is present and set to true, the import allows the classes that starts with sun.com or sun.static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "RegistryEntry" objects.static LongP_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_DEFAULTWhether the default CMD runs as 32 or as 64 bit process on a 64 bit server.static StringP_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_PATHWhether the default CMD runs as 32 or as 64 bit process on a 64 bit server.static StringPATH_SEPARATORSeparator used to separate the hierarchical parts of the path; this character cannot be used in the name of a RegistryEntry.static StringSEC_PRIV_CREATEThis privilege can be granted at a group level.static StringSEC_PRIV_CREATECHILDRENThis privilege can be granted at an instance level.static StringSEC_PRIV_DELETEThis privilege can be granted at a group level.static StringSEC_PRIV_EDITThis privilege can be granted at a group level.static StringSEC_PRIV_VIEWThis privilege can be granted at a group level.static StringSEC_RANK_ALLThis rank is made of the following privileges: view , create , createChildren , edit , deletestatic StringSEC_RANK_NONEThis rank has no privileges assigned to it.static StringSEC_RANK_OWNERThis rank is made of the following privileges: view , createChildrenstatic StringSEC_RANK_VIEWThis rank is made of the following privileges: viewstatic StringSPOOL_RETRIEVAL_PROCESSSERVER_OPTION_PATHHow should the spool retrieval process server option be treated.static QueryObjectType<RegistryEntry>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description RequiredPermissioncheckCreateChildrenPrivilege()Check whether or not the createChildren action can be performed on this object.RequiredPermissioncheckCreatePrivilege()Check whether or not the create action can be performed on this object.RequiredPermissioncheckDeletePrivilege()Check whether or not the delete action can be performed on this object.RequiredPermissioncheckEditPrivilege()Check whether or not the edit action can be performed on this object.RequiredPermissioncheckViewPrivilege()Check whether or not the view action can be performed on this object.RWIterable<RegistryEntry>getChildRegistryEntries()Get anRWIterableover a collection ofChildRegistryEntries, the collection will be ordered by Name.RegistryEntrygetChildRegistryEntryByName(String name)Get the RegistryEntry by NameParent.StringgetFullParentPath()Query full path to this registry entry.LonggetNumExtraValueLines()Get the value for NumExtraValueLines.RegistryEntrygetParentRegistryEntry()Get the ParentRegistryEntry.StringgetValue()Get the value for Value.booleanisOverrideAllowed()Get the value for OverrideAllowed.voidsetOverrideAllowed(boolean newOverrideAllowed)Set the value for OverrideAllowed.voidsetParentRegistryEntry(RegistryEntry newParentRegistryEntry)Set the value for ParentRegistryEntry.voidsetValue(String newValue)Set the value for Value.- 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObjectcreateObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
 - 
Methods inherited from interface com.redwood.scheduler.api.model.RootgetCreationTime, getLastModificationTime, getLastModifierSubject
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "RegistryEntry" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<RegistryEntry> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
PATH_SEPARATORstatic final String PATH_SEPARATOR Separator used to separate the hierarchical parts of the path; this character cannot be used in the name of a RegistryEntry.- See Also:
- Constant Field Values
 
 - 
P_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_PATHstatic final String P_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_PATH Whether the default CMD runs as 32 or as 64 bit process on a 64 bit server.- See Also:
- Constant Field Values
 
 - 
P_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_DEFAULTstatic final Long P_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_DEFAULT Whether the default CMD runs as 32 or as 64 bit process on a 64 bit server.
 - 
SPOOL_RETRIEVAL_PROCESSSERVER_OPTION_PATHstatic final String SPOOL_RETRIEVAL_PROCESSSERVER_OPTION_PATH How should the spool retrieval process server option be treated.- See Also:
- Constant Field Values
 
 - 
ALLOW_SUN_IMPORT_REGISTRY_ENTRYstatic final String ALLOW_SUN_IMPORT_REGISTRY_ENTRY If this entry is present and set to true, the import allows the classes that starts with sun.com or sun.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_VIEWstatic final String SEC_PRIV_VIEW This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_CREATEstatic final String SEC_PRIV_CREATE This privilege can be granted at a group level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_CREATECHILDRENstatic final String SEC_PRIV_CREATECHILDREN This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_EDITstatic final String SEC_PRIV_EDIT This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_DELETEstatic final String SEC_PRIV_DELETE This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_VIEWstatic final String SEC_RANK_VIEW This rank is made of the following privileges: view- See Also:
- Constant Field Values
 
 - 
SEC_RANK_OWNERstatic final String SEC_RANK_OWNER This rank is made of the following privileges: view , createChildren- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges: view , create , createChildren , edit , delete- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isOverrideAllowedboolean isOverrideAllowed() Get the value for OverrideAllowed. (Whether users can modify the value of this entry themselves.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getValueString getValue() Get the value for Value. (Value of this key stored as textual data.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getNumExtraValueLinesLong getNumExtraValueLines() Get the value for NumExtraValueLines. (The number of additional lines that are present for the value attribute.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setOverrideAllowedvoid setOverrideAllowed(boolean newOverrideAllowed) Set the value for OverrideAllowed. (Whether users can modify the value of this entry themselves.)- Parameters:
- newOverrideAllowed- the new value for OverrideAllowed.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setValuevoid setValue(String newValue) Set the value for Value. (Value of this key stored as textual data.) This value is optional.- Parameters:
- newValue- the new value for Value.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getFullParentPathString getFullParentPath() Query full path to this registry entry. This builds the full registry path that points to this entry by traversing the parent links.- Returns:
- String containing the full registry path to this entry. Each registry key is seperated by the '/' character.
 
 - 
getParentRegistryEntryRegistryEntry getParentRegistryEntry() Get the ParentRegistryEntry.- Returns:
- ParentRegistryEntry
- Throws:
- com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
 
 - 
setParentRegistryEntryvoid setParentRegistryEntry(RegistryEntry newParentRegistryEntry) Set the value for ParentRegistryEntry. This value is optional.- Parameters:
- newParentRegistryEntry- is the object to set ParentRegistryEntry to. Parent-child relationship for registry entries.
 
 - 
getChildRegistryEntriesRWIterable<RegistryEntry> getChildRegistryEntries() Get anRWIterableover a collection ofChildRegistryEntries, the collection will be ordered by Name. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Parent-child relationship for registry entries.- Specified by:
- getChildRegistryEntriesin interface- RegistryEntryComp
- Returns:
- An RWIterableover a collection ofRegistryEntryobjects , the collection will be ordered by Name.
 
 - 
getChildRegistryEntryByNameRegistryEntry getChildRegistryEntryByName(String name) Get the RegistryEntry by NameParent.- Parameters:
- name-
- Returns:
- the RegistryEntry, or nullif it could not be found
 
 - 
checkViewPrivilegeRequiredPermission checkViewPrivilege() Check whether or not the view action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkCreatePrivilegeRequiredPermission checkCreatePrivilege() Check whether or not the create action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkCreateChildrenPrivilegeRequiredPermission checkCreateChildrenPrivilege() Check whether or not the createChildren action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkEditPrivilegeRequiredPermission checkEditPrivilege() Check whether or not the edit action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkDeletePrivilegeRequiredPermission checkDeletePrivilege() Check whether or not the delete action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 
- 
 
-