public class PropertyBundleDefinition extends ApplicationObjectDefinition
Most of the specifications can be set using the setAttribute() method inherited from LibraryObjectDefinition. Only the methods used to add Property objects to the new or updated PropertyBundle require methods specific to this class.
LibraryObjectDefinition, 
PropertyBundle, 
PropertyDefinition, 
Serialized FormLibraryObjectDefinition.EnumToIntegerCode, LibraryObjectDefinition.LookupByNamem_Attributes, m_ClassObjectName, m_ClassObjectValue, m_ContentSpecifications, m_DefinitionLists, m_Definitions, m_EnclosedDefinition, m_Id, m_Options, m_ReadOnly, m_ReferenceAttributes, m_Session, m_SystemOptions| Constructor and Description | 
|---|
PropertyBundleDefinition(LibrarySessionInterface session)
Construct a definition explicitly capturing the
 session. 
 | 
PropertyBundleDefinition(LibrarySessionInterface session,
                        String className)
Construct a definition, explicitly capturing the
 session and setting the initial classobject. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyDefinition(AttributeValueTable propTable)
Adds a new PropertyDefinition for a Property
 specified in a table. 
 | 
void | 
addPropertyDefinition(PropertyDefinition def)
Adds a Property definition to the this instance. 
 | 
void | 
addPropertyDefinitions(List<AttributeValueTable> propsList)
Adds a set of new PropertyDefinitions via a table list. 
 | 
void | 
addPropertyDefinitions(PropertyDefinition[] defs)
Adds a set of new Property definitions. 
 | 
void | 
addPropertyValue(AttributeValue av)
Adds a Property Value to the new PropertyBundle. 
 | 
void | 
addPropertyValue(String name,
                AttributeValue av)
Adds a Property Value to the new PropertyBundle. 
 | 
void | 
applySettings(AttributeValueTable avt)
Applies settings from the specified table. 
 | 
PropertyDefinition[] | 
getPropertyDefinitions()
Gets all PropertyDefinition in the PropertyBundleDefinition. 
 | 
void | 
removePropertyDefinitions()
Removes all Property definition specifications from this instance. 
 | 
void | 
setPropertyDefinitions(PropertyDefinition[] defs)
Sets an explicit set of PropertyDefinitions. 
 | 
PropertyBundleDefinition | 
toPropertyBundleDefinition(LibrarySession session,
                          Map map)
Creates a PropertyBundleDefinition from a Map. 
 | 
addCategoryDefinition, addCategoryDefinition, addCategoryDefinitions, addCategoryDefinitions, getAddToFolderOption, getAddToFolderValue, getAutoFolderingActionSpecification, getCascadeCopyRelationshipsOption, getCascadeCopyRelationshipsOptionValue, getCategoryCopyOption, getCategoryDefinitions, getContentQuotaCopyOption, getCreateCategoriesServerSideOption, getExplicitCreateAndModifyAttributesOption, getExplicitCreateDate, getExplicitLastModifyDate, getFreeIfLastFolderReferenceOption, getKeepLastModifierOption, getKeepLastModifyDateOption, getLockEntryDefinition, getLockObject, getLockObjectDefinition, getLockObjectValue, getSecuringPublicObject, getSecuringPublicObjectValue, getUpdatedLockObjectDefinition, removeCategoryDefinitions, removeLockEntryDefinition, resolveAutoFolderingSettings, setAddToFolderOption, setAddToFolderValue, setAutoFolderingActionSpecification, setAutoFolderingActionSpecification, setCascadeCopyRelationshipsOption, setCategoryCopyOption, setCategoryDefinitions, setContentQuotaCopyOption, setCreateCategoriesServerSideOption, setExplicitCreateAndModifyAttributesOption, setExplicitCreateDate, setExplicitLastModifyDate, setFreeIfLastFolderReferenceOption, setKeepLastModifierOption, setKeepLastModifyDateOption, setLockEntryDefinition, setLockObject, setLockObjectDefinition, setLockObjectValue, setNullSecurity, setPrivateSecurity, setPublishedSecurity, setSecuringPublicObject, setSecuringPublicObjectValue, setUpdatedLockObjectDefinition, toPublicObjectDefinition, toPublicObjectDefinitionaddDefinition, addDefinitions, addProperty, addSimplePropertyDefinition, addSimplePropertyDefinition, addSimplePropertyDefinitions, addSimplePropertyDefinitions, applyEnumSetting, applyEnumSetting, applyMapSetting, applyMapSetting, applyObjectArraySetting, applyObjectArraySetting, applyObjectSetting, applyObjectSetting, applySetting, applySetting, captureSession, captureSession, captureSession, clone, constructInstance, constructInstance, constructInstance, copyInto, deriveObjectArraySetting, deriveObjectSetting, getAttribute, getAttribute, getAttributes, getAttributes, getAttributesSorted, getClassId, getClassObject, getClassObjectValue, getContentSpecification, getContentSpecificationKeys, getCopiedObjectValue, getDefinition, getDefinitionClassName, getDefinitionKeys, getDefinitionListKeys, getDefinitions, getId, getLibrarySession, getName, getOption, getOptionAsAttributeValue, getOptionKeys, getPolicyMode, getReferenceAttribute, getReferenceAttributes, getServerDefinition, getSession, getSimplePropertyDefinitions, getSLibrarySession, getStringAttribute, getSystemOption, getSystemOptionAsAttributeValue, getSystemOptionAsBoolean, getSystemOptionKeys, getWriteableInstance, isReadOnly, prepareForDefinitionObject, processSimplePropertiesForCreate, processSimplePropertiesForUpdate, removeAttribute, removeContentSpecification, removeDefinition, removeDefinitions, removeOption, removeReferenceAttribute, removeSimplePropertyDefinitions, removeSystemOption, reset, resolve, setAttribute, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributeByUpperCaseName, setAttributePolicyMode, setAttributes, setClassId, setClassname, setClassObject, setClassObjectValue, setContentSpecification, setCopiedObjectValue, setDefinition, setDefinitions, setId, setName, setOption, setReadOnly, setReferenceAttribute, setReferenceAttribute, setSession, setSimplePropertyDefinitions, setSystemOption, unresolve, verifySessionpublic PropertyBundleDefinition(LibrarySessionInterface session) throws IfsException
session - the current sessionIfsException - if the operation failspublic PropertyBundleDefinition(LibrarySessionInterface session, String className) throws IfsException
session - the current sessionclassName - the initial class nameIfsException - if the operation failspublic void applySettings(AttributeValueTable avt) throws IfsException
applySettings in class PublicObjectDefinitionavt - the table having the definition settingsIfsException - if the operation failspublic void addPropertyDefinitions(List<AttributeValueTable> propsList) throws IfsException
addPropertyDefinitions in class LibraryObjectDefinitionpropsList - the Properties table listIfsException - if the operation failspublic void addPropertyDefinition(AttributeValueTable propTable) throws IfsException
addPropertyDefinition in class LibraryObjectDefinitionpropTable - the Property table, which specifies key and valueIfsException - if the operation failspublic void addPropertyValue(AttributeValue av) throws IfsException
This results in the creation of a PropertyDefinition, which gets added to the list of Properties to create.
Equivalent to:
     PropertyDefinition pdef = new PropertyDefinition(session);
     pdef.setValue(av);
     addPropertyDefinition(pdef);av - the AttributeValue representing the Property valueIfsException - if the operation failspublic void addPropertyValue(String name, AttributeValue av) throws IfsException
This results in the creation of a PropertyDefinition, which gets added to the list of Properties to create.
Equivalent to:
     PropertyDefinition pdef = new PropertyDefinition(session);
     pdef.setValue(av);
     pdef.setName(name);
     addPropertyDefinition(pdef);name - the Property nameav - the Property valueIfsException - if the operation failspublic final void addPropertyDefinition(PropertyDefinition def) throws IfsException
addPropertyDefinition in class LibraryObjectDefinitiondef - the PropertyDefinition of the new PropertyIfsException - if the operation failspublic void addPropertyDefinitions(PropertyDefinition[] defs) throws IfsException
addPropertyDefinitions in class LibraryObjectDefinitiondefs - the Property definitions to be added for this instanceIfsException - if the operation failspublic void setPropertyDefinitions(PropertyDefinition[] defs) throws IfsException
defs - the new set of PropertyDefinitionsIfsException - if the operation failspublic void removePropertyDefinitions()
                               throws IfsException
removePropertyDefinitions in class LibraryObjectDefinitionIfsExceptionpublic PropertyDefinition[] getPropertyDefinitions() throws IfsException
getPropertyDefinitions in class LibraryObjectDefinitionIfsException - if the operation failspublic PropertyBundleDefinition toPropertyBundleDefinition(LibrarySession session, Map map) throws IfsException
map - the Map to convert; the key is the property name
                      and the value is anything that can be used in
                      AttributeValue.newAttributeValueIfsException - if the operation fails.Copyright © 2025. All rights reserved.