com.filenet.api.constants
Class DefineSecurityParentage
- java.lang.Object
-
- com.filenet.api.constants.DefineSecurityParentage
-
- All Implemented Interfaces:
- java.io.Serializable
public class DefineSecurityParentage extends java.lang.Object implements java.io.Serializable
Exposes constants that indicate whether theSecurityFolder
property of the object referenced by theReferentialContainmentRelationship
object'sHead
property is set to theFolder
object referenced by theReferentialContainmentRelationship
object'sTail
property. Use these constants when calling theFolder.file
method to add a new object to a folder, or when callingcreateInstance
to create aReferentialContainmentRelationship
object.
-
-
Field Summary
Fields Modifier and Type Field and Description static DefineSecurityParentage
DEFINE_SECURITY_PARENTAGE
Specifies that security is to be inherited from the referenced parent (container).static DefineSecurityParentage
DO_NOT_DEFINE_SECURITY_PARENTAGE
Specifies that security is not to be inherited from the referenced parent (container).
-
Method Summary
Methods Modifier and Type Method and Description java.lang.Boolean
getBooleanValue()
Returns theBoolean
value associated with a specific instance of this class.static DefineSecurityParentage
getInstanceFromBoolean(boolean val)
Gets an instance of this class from its associatedboolean
value.boolean
getValue()
Returns theboolean
value associated with a specific instance of this class.java.lang.String
toString()
Returns aString
representation of thisDefineSecurityParentage
instance.
-
-
-
Field Detail
-
DEFINE_SECURITY_PARENTAGE
public static final DefineSecurityParentage DEFINE_SECURITY_PARENTAGE
Specifies that security is to be inherited from the referenced parent (container).
-
DO_NOT_DEFINE_SECURITY_PARENTAGE
public static final DefineSecurityParentage DO_NOT_DEFINE_SECURITY_PARENTAGE
Specifies that security is not to be inherited from the referenced parent (container).
-
-
Method Detail
-
getValue
public boolean getValue()
Returns theboolean
value associated with a specific instance of this class.- Returns:
- A
boolean
representing a specific instance of this class.
-
getBooleanValue
public java.lang.Boolean getBooleanValue()
Returns theBoolean
value associated with a specific instance of this class.- Returns:
- A
Boolean
representing a specific instance of this class.
-
getInstanceFromBoolean
public static DefineSecurityParentage getInstanceFromBoolean(boolean val)
Gets an instance of this class from its associatedboolean
value.- Parameters:
val
- Aboolean
representing theDefineSecurityParentage
instance to retrieve. Valid values areDEFINE_SECURITY_PARENTAGE
andDO_NOT_DEFINE_SECURITY_PARENTAGE
; cannot benull
.- Returns:
- A
DefineSecurityParentage
object of the type requested. - Throws:
EngineRuntimeException
- if the input parameter is invalid ornull
.
-
toString
public java.lang.String toString()
Returns aString
representation of thisDefineSecurityParentage
instance.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A
String
representing thisDefineSecurityParentage
.
-
-