public class CatalogTemplateLayout extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowCatalogCreation()
Returns true if this template can be used to create a new catalog.
|
CatalogAssetRelationList |
getAssetRelationList()
Returns the list of asset relation types for this catalog.
|
CatalogFieldList |
getCatalogCategoryFieldList()
Returns the list of category fields for this catalog.
|
CatalogFieldList |
getCatalogRecordFieldList()
Returns the list of record fields for this catalog.
|
java.lang.String |
getDescription(int languageID)
Returns the description for the given language id.
|
java.lang.String |
getDisplayName(int languageID)
Returns the description for the given language id.
|
boolean |
getUseJournaling()
Returns whether journaling should be used.
|
boolean |
keepCategoriesUnique()
Returns whether the catalog keep category names unique.
|
void |
setAllowCatalogCreation(boolean value)
If set to true this template can be used to create a new catalog.
|
void |
setDescription(int languageID,
java.lang.String description)
Sets the description for the given language.
|
void |
setDisplayName(int languageID,
java.lang.String displayName)
Sets the description for the given language.
|
void |
setKeepCategoriesUnique(boolean value)
Sets whether the catalog should keep category names unique.
|
void |
setUseJournaling(boolean value)
Sets whether journaling should be used.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public boolean keepCategoriesUnique()
public void setKeepCategoriesUnique(boolean value)
value
- set to true if category names should be uniquepublic boolean getUseJournaling()
public void setUseJournaling(boolean value)
value
- set to true if journaling should be used for this catalog.public boolean getAllowCatalogCreation()
public void setAllowCatalogCreation(boolean value)
value
- true if this template can be used to create a new catalogpublic java.lang.String getDescription(int languageID)
languageID
- specifying the language for the descriptionpublic void setDescription(int languageID, java.lang.String description)
languageID
- the language to set the description fordescription
- the new descriptionpublic java.lang.String getDisplayName(int languageID)
languageID
- specifying the language for the descriptionpublic void setDisplayName(int languageID, java.lang.String displayName)
languageID
- the language to set the description fordisplayName
- the new display namepublic CatalogFieldList getCatalogRecordFieldList()
public CatalogFieldList getCatalogCategoryFieldList()
public CatalogAssetRelationList getAssetRelationList()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.