Interface ApplicationSecurityTemplate
-
- All Superinterfaces:
- DependentObject, EngineObject, RepositoryObject, SecurityTemplate, java.io.Serializable
public interface ApplicationSecurityTemplate extends RepositoryObject, SecurityTemplate, DependentObject
Represents a template through which an application can apply permissions (access rights) to aDocument,CustomObject, orFolderobject, and to their subclasses. Security templates are not independently persistable to the Content Engine; they are contained in aSecurityPolicyobject. The template contains the permissions that will be applied to an object by the application program. AnApplicationSecurityTemplateobject also has associatedAccessPermissionDescriptionobjects, each of which provide descriptive information for an access right or level.You can enable or disable a template within its security policy container. An enabled template can be applied to an object; a disabled template remains an item in the security policy container but cannot be applied to an object.
A
SecurityTemplateobject can represent either an application security template or a versioning security template, and both types can exist simultaneously in a singleSecurityPolicyobject. The two template types are differentiated by their use and by their class IDs (GUIDs). A versioning security template is automatically applied when the state of a document version changes, and may also be explicitly applied at any time by a user or group with permission to modify the object's security (AccessRight.WRITE_ACL). However, an application security template is never automatically applied. It must be explicitly applied by an application calling theapplySecurityTemplatemethod. For more information, see theapplySecurityTemplatemethod on theDocument,CustomObject, andFolderinterfaces.To create an instance of
ApplicationSecurityTemplate, callcreateInstanceon theFactory.ApplicationSecurityTemplateclass. To retrieve anApplicationSecurityTemplateobject from aSecurityPolicyobject, first retrieve theSecurityPolicyobject'sSecurityTemplatesproperty then retrieve aSecurityTemplateobject of the desired type from the returnedSecurityTemplatescollection.Metadata
-
-
Method Summary
-
Methods inherited from interface com.filenet.api.security.SecurityTemplate
get_ApplyStateID, get_DisplayName, get_Id, get_IsEnabled, get_TemplatePermissionDescriptions, get_TemplatePermissions, set_ApplyStateID, set_DisplayName, set_IsEnabled, set_TemplatePermissions
-
Methods inherited from interface com.filenet.api.core.RepositoryObject
getObjectStore
-
Methods inherited from interface com.filenet.api.core.EngineObject
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
-
-