com.filenet.api.admin
Interface ClassDefinition
-
- All Superinterfaces:
- EngineObject, IndependentlyPersistableObject, IndependentObject, Replicable, RepositoryObject, java.io.Serializable, Subscribable
- All Known Subinterfaces:
- CmConversionSettingsClassDefinition, CmDependentClassDefinition, CmQueueEntryClassDefinition, CmRoleClassDefinition, DocumentClassDefinition, EventClassDefinition, ReplicableClassDefinition, SubscribableClassDefinition, VersionableClassDefinition
public interface ClassDefinition extends RepositoryObject, Replicable, Subscribable, IndependentlyPersistableObject
Represents the class definition (mutable class metadata) of non-versionable, non-subscribable classes. Subclasses of the Subscribable class are defined inSubscribableClassDefinitionobjects, except for theDocumentclass and its subclasses, which are defined inDocumentClassDefinitionobjects, and theEventclass and its subclasses, which are defined inEventClassDefinitionobjects. You can modify class definition metadata via its properties and property definitions throughout the life of an instantiated object. Note, however, that you cannot modify a class definition'sClassDescriptionproperty.Metadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description ClassDefinitioncreateSubclass()Creates a subclass of the class defined by this class definition.ClassDefinitioncreateSubclass(Id id)Creates a subclass, with the specified ID, of the class defined by this class definition.IdListget_AliasIds()Returns the value of the AliasIds property.java.lang.Booleanget_AllowsInstances()Returns the value of the AllowsInstances property.java.lang.Booleanget_AllowsPropertyAdditions()Returns the value of the AllowsPropertyAdditions property.java.lang.Booleanget_AllowsSubclasses()Returns the value of the AllowsSubclasses property.EventSetget_AuditedEvents()Returns the value of the AuditedEvents property.java.lang.Stringget_Creator()Returns the value of the Creator property.java.util.Dateget_DateCreated()Returns the value of the DateCreated property.java.util.Dateget_DateLastModified()Returns the value of the DateLastModified property.java.lang.Stringget_DefaultInstanceOwner()Returns the value of the DefaultInstanceOwner property.AccessPermissionDescriptionListget_DefaultInstancePermissionDescriptions()Returns the value of the DefaultInstancePermissionDescriptions property.AccessPermissionListget_DefaultInstancePermissions()Returns the value of the DefaultInstancePermissions property.java.lang.Integerget_DefaultRetentionPeriod()Returns the value of the DefaultRetentionPeriod property.java.lang.Stringget_DescriptiveText()Returns the value of the DescriptiveText property.LocalizedStringListget_DescriptiveTexts()Returns the value of the DescriptiveTexts property.java.lang.Stringget_DisplayName()Returns the value of the DisplayName property.LocalizedStringListget_DisplayNames()Returns the value of the DisplayNames property.Idget_Id()Returns the value of the Id property.ClassDefinitionSetget_ImmediateSubclassDefinitions()Returns the value of the ImmediateSubclassDefinitions property.AddOnget_InstalledByAddOn()Returns the value of the InstalledByAddOn property.java.lang.Booleanget_IsCBREnabled()Returns the value of the IsCBREnabled property.java.lang.Booleanget_IsHidden()Returns the value of the IsHidden property.java.lang.Booleanget_IsPersistent()Returns the value of the IsPersistent property.java.lang.Booleanget_IsSystemOwned()Returns the value of the IsSystemOwned property.java.lang.Stringget_LastModifier()Returns the value of the LastModifier property.java.lang.Stringget_Name()Returns the value of the Name property.java.lang.Stringget_Owner()Returns the value of the Owner property.AccessPermissionListget_Permissions()Returns the value of the Permissions property.PropertyDefinitionListget_PropertyDefinitions()Returns the value of the PropertyDefinitions property.java.lang.Integerget_ProtectedPropertyCount()Returns the value of the ProtectedPropertyCount property.DurationUnitsget_RetentionPeriodUnits()Returns the value of the RetentionPeriodUnits property.ClassDefinitionget_SuperclassDefinition()Returns the value of the SuperclassDefinition property.java.lang.Stringget_SymbolicName()Returns the value of the SymbolicName property.TableDefinitionget_TableDefinition()Returns the value of the TableDefinition property.ClassWorkflowSubscriptionSetget_WorkflowSubscriptions()Returns the value of the WorkflowSubscriptions property.voidset_AliasIds(IdList value)Sets the value of the AliasIds property.voidset_AllowsInstances(java.lang.Boolean value)Sets the value of the AllowsInstances property.voidset_Creator(java.lang.String value)Sets the value of the Creator property.voidset_DateCreated(java.util.Date value)Sets the value of the DateCreated property.voidset_DateLastModified(java.util.Date value)Sets the value of the DateLastModified property.voidset_DefaultInstanceOwner(java.lang.String value)Sets the value of the DefaultInstanceOwner property.voidset_DefaultInstancePermissions(AccessPermissionList value)Sets the value of the DefaultInstancePermissions property.voidset_DefaultRetentionPeriod(java.lang.Integer value)Sets the value of the DefaultRetentionPeriod property.voidset_DescriptiveTexts(LocalizedStringList value)Sets the value of the DescriptiveTexts property.voidset_DisplayNames(LocalizedStringList value)Sets the value of the DisplayNames property.voidset_IsCBREnabled(java.lang.Boolean value)Sets the value of the IsCBREnabled property.voidset_IsHidden(java.lang.Boolean value)Sets the value of the IsHidden property.voidset_LastModifier(java.lang.String value)Sets the value of the LastModifier property.voidset_Owner(java.lang.String value)Sets the value of the Owner property.voidset_Permissions(AccessPermissionList value)Sets the value of the Permissions property.voidset_PropertyDefinitions(PropertyDefinitionList value)Sets the value of the PropertyDefinitions property.voidset_RetentionPeriodUnits(DurationUnits value)Sets the value of the RetentionPeriodUnits property.voidset_SymbolicName(java.lang.String value)Sets the value of the SymbolicName property.-
Methods inherited from interface com.filenet.api.core.RepositoryObject
getObjectStore
-
Methods inherited from interface com.filenet.api.replication.Replicable
get_ExternalReplicaIdentities, get_ReplicationGroup, set_ExternalReplicaIdentities, set_ReplicationGroup
-
Methods inherited from interface com.filenet.api.core.Subscribable
raiseEvent
-
Methods inherited from interface com.filenet.api.core.IndependentlyPersistableObject
addPendingAction, clearPendingActions, delete, getAccessAllowed, getPendingActions, getUpdateSequenceNumber, isCurrent, save, save, setUpdateSequenceNumber
-
Methods inherited from interface com.filenet.api.core.IndependentObject
fetchProperties, fetchProperties, fetchProperty, fetchProperty, getObjectReference, refresh, refresh, refresh
-
Methods inherited from interface com.filenet.api.core.EngineObject
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
-
-
-
-
Method Detail
-
get_Creator
java.lang.String get_Creator()
Returns the value of the Creator property. For more information, see Creator Property.
-
set_Creator
void set_Creator(java.lang.String value)
Sets the value of the Creator property. For more information, see Creator Property.
-
get_DateCreated
java.util.Date get_DateCreated()
Returns the value of the DateCreated property. For more information, see DateCreated Property.
-
set_DateCreated
void set_DateCreated(java.util.Date value)
Sets the value of the DateCreated property. For more information, see DateCreated Property.
-
get_LastModifier
java.lang.String get_LastModifier()
Returns the value of the LastModifier property. For more information, see LastModifier Property.
-
set_LastModifier
void set_LastModifier(java.lang.String value)
Sets the value of the LastModifier property. For more information, see LastModifier Property.
-
get_DateLastModified
java.util.Date get_DateLastModified()
Returns the value of the DateLastModified property. For more information, see DateLastModified Property.
-
set_DateLastModified
void set_DateLastModified(java.util.Date value)
Sets the value of the DateLastModified property. For more information, see DateLastModified Property.
-
get_Id
Id get_Id()
Returns the value of the Id property. For more information, see Id Property.
-
get_Name
java.lang.String get_Name()
Returns the value of the Name property. For more information, see Name Property.
-
get_AuditedEvents
EventSet get_AuditedEvents()
Returns the value of the AuditedEvents property. For more information, see AuditedEvents Property.
-
get_Owner
java.lang.String get_Owner()
Returns the value of the Owner property. For more information, see Owner Property.
-
set_Owner
void set_Owner(java.lang.String value)
Sets the value of the Owner property. For more information, see Owner Property.
-
get_Permissions
AccessPermissionList get_Permissions()
Returns the value of the Permissions property. For more information, see Permissions Property.
-
set_Permissions
void set_Permissions(AccessPermissionList value)
Sets the value of the Permissions property. For more information, see Permissions Property.
-
get_IsSystemOwned
java.lang.Boolean get_IsSystemOwned()
Returns the value of the IsSystemOwned property. For more information, see IsSystemOwned Property.
-
get_AliasIds
IdList get_AliasIds()
Returns the value of the AliasIds property. For more information, see AliasIds Property.
-
set_AliasIds
void set_AliasIds(IdList value)
Sets the value of the AliasIds property. For more information, see AliasIds Property.
-
get_DisplayName
java.lang.String get_DisplayName()
Returns the value of the DisplayName property. For more information, see DisplayName Property.
-
get_DescriptiveText
java.lang.String get_DescriptiveText()
Returns the value of the DescriptiveText property. For more information, see DescriptiveText Property.
-
get_DisplayNames
LocalizedStringList get_DisplayNames()
Returns the value of the DisplayNames property. For more information, see DisplayNames Property.
-
set_DisplayNames
void set_DisplayNames(LocalizedStringList value)
Sets the value of the DisplayNames property. For more information, see DisplayNames Property.
-
get_DescriptiveTexts
LocalizedStringList get_DescriptiveTexts()
Returns the value of the DescriptiveTexts property. For more information, see DescriptiveTexts Property.
-
set_DescriptiveTexts
void set_DescriptiveTexts(LocalizedStringList value)
Sets the value of the DescriptiveTexts property. For more information, see DescriptiveTexts Property.
-
get_SuperclassDefinition
ClassDefinition get_SuperclassDefinition()
Returns the value of the SuperclassDefinition property. For more information, see SuperclassDefinition Property.
-
get_ProtectedPropertyCount
java.lang.Integer get_ProtectedPropertyCount()
Returns the value of the ProtectedPropertyCount property. For more information, see ProtectedPropertyCount Property.
-
get_ImmediateSubclassDefinitions
ClassDefinitionSet get_ImmediateSubclassDefinitions()
Returns the value of the ImmediateSubclassDefinitions property. For more information, see ImmediateSubclassDefinitions Property.
-
get_IsPersistent
java.lang.Boolean get_IsPersistent()
Returns the value of the IsPersistent property. For more information, see IsPersistent Property.
-
get_AllowsInstances
java.lang.Boolean get_AllowsInstances()
Returns the value of the AllowsInstances property. For more information, see AllowsInstances Property.
-
set_AllowsInstances
void set_AllowsInstances(java.lang.Boolean value)
Sets the value of the AllowsInstances property. For more information, see AllowsInstances Property.
-
get_AllowsSubclasses
java.lang.Boolean get_AllowsSubclasses()
Returns the value of the AllowsSubclasses property. For more information, see AllowsSubclasses Property.
-
get_AllowsPropertyAdditions
java.lang.Boolean get_AllowsPropertyAdditions()
Returns the value of the AllowsPropertyAdditions property. For more information, see AllowsPropertyAdditions Property.
-
get_PropertyDefinitions
PropertyDefinitionList get_PropertyDefinitions()
Returns the value of the PropertyDefinitions property. For more information, see PropertyDefinitions Property.
-
set_PropertyDefinitions
void set_PropertyDefinitions(PropertyDefinitionList value)
Sets the value of the PropertyDefinitions property. For more information, see PropertyDefinitions Property.
-
get_TableDefinition
TableDefinition get_TableDefinition()
Returns the value of the TableDefinition property. For more information, see TableDefinition Property.
-
get_SymbolicName
java.lang.String get_SymbolicName()
Returns the value of the SymbolicName property. For more information, see SymbolicName Property.
-
set_SymbolicName
void set_SymbolicName(java.lang.String value)
Sets the value of the SymbolicName property. For more information, see SymbolicName Property.
-
get_WorkflowSubscriptions
ClassWorkflowSubscriptionSet get_WorkflowSubscriptions()
Returns the value of the WorkflowSubscriptions property. For more information, see WorkflowSubscriptions Property.
-
get_IsHidden
java.lang.Boolean get_IsHidden()
Returns the value of the IsHidden property. For more information, see IsHidden Property.
-
set_IsHidden
void set_IsHidden(java.lang.Boolean value)
Sets the value of the IsHidden property. For more information, see IsHidden Property.
-
get_DefaultInstancePermissions
AccessPermissionList get_DefaultInstancePermissions()
Returns the value of the DefaultInstancePermissions property. For more information, see DefaultInstancePermissions Property.
-
set_DefaultInstancePermissions
void set_DefaultInstancePermissions(AccessPermissionList value)
Sets the value of the DefaultInstancePermissions property. For more information, see DefaultInstancePermissions Property.
-
get_DefaultInstancePermissionDescriptions
AccessPermissionDescriptionList get_DefaultInstancePermissionDescriptions()
Returns the value of the DefaultInstancePermissionDescriptions property. For more information, see DefaultInstancePermissionDescriptions Property.
-
get_DefaultInstanceOwner
java.lang.String get_DefaultInstanceOwner()
Returns the value of the DefaultInstanceOwner property. For more information, see DefaultInstanceOwner Property.
-
set_DefaultInstanceOwner
void set_DefaultInstanceOwner(java.lang.String value)
Sets the value of the DefaultInstanceOwner property. For more information, see DefaultInstanceOwner Property.
-
get_IsCBREnabled
java.lang.Boolean get_IsCBREnabled()
Returns the value of the IsCBREnabled property. For more information, see IsCBREnabled Property.
-
set_IsCBREnabled
void set_IsCBREnabled(java.lang.Boolean value)
Sets the value of the IsCBREnabled property. For more information, see IsCBREnabled Property.
-
get_InstalledByAddOn
AddOn get_InstalledByAddOn()
Returns the value of the InstalledByAddOn property. For more information, see InstalledByAddOn Property.
-
get_DefaultRetentionPeriod
java.lang.Integer get_DefaultRetentionPeriod()
Returns the value of the DefaultRetentionPeriod property. For more information, see DefaultRetentionPeriod Property.
-
set_DefaultRetentionPeriod
void set_DefaultRetentionPeriod(java.lang.Integer value)
Sets the value of the DefaultRetentionPeriod property. For more information, see DefaultRetentionPeriod Property.
-
get_RetentionPeriodUnits
DurationUnits get_RetentionPeriodUnits()
Returns the value of the RetentionPeriodUnits property. For more information, see RetentionPeriodUnits Property.
-
set_RetentionPeriodUnits
void set_RetentionPeriodUnits(DurationUnits value)
Sets the value of the RetentionPeriodUnits property. For more information, see RetentionPeriodUnits Property.
-
createSubclass
ClassDefinition createSubclass()
Creates a subclass of the class defined by this class definition. If this class is not allowed to be subclassed, an exception will be thrown.- Returns:
- A
ClassDefinitionobject that defines the new subclass.
-
createSubclass
ClassDefinition createSubclass(Id id)
Creates a subclass, with the specified ID, of the class defined by this class definition. If this class is not allowed to be subclassed, an exception will be thrown.- Parameters:
id- AnIdobject that specifies the ID of the new subclass.- Returns:
- A
ClassDefinitionobject that defines the new subclass.
-
-