public class CatalogSettingsRoot extends CatalogTemplateLayout
Catalog.getProperties()
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
Modifier and Type | Field and Description |
---|---|
static int |
CENTRAL_ASSET_LOCATION_MODE_ALWAYS |
static int |
CENTRAL_ASSET_LOCATION_MODE_ALWAYS_EXCLUSIVE |
static int |
CENTRAL_ASSET_LOCATION_MODE_AS_SET_IN_AHS |
static int |
CENTRAL_ASSET_LOCATION_MODE_NEVER |
TYPE_EJP, TYPE_NATIVE
Constructor and Description |
---|
CatalogSettingsRoot(Catalog catalog,
JPack coreData,
Saver saver,
java.lang.String path,
PreferencesImpl preferences,
com.canto.cumulus.prefs.BaseManager.ChangeManager changeManager) |
Modifier and Type | Method and Description |
---|---|
CatalogAssetRelationList |
getAssetRelations()
Returns the list of configured asset relations.
|
int |
getCatalogID()
Returns the catalog ID.
|
java.lang.String |
getCatalogLocation()
Returns a textual representation of the catalogs location.
|
java.lang.String |
getCatalogName()
Returns the catalog name.
|
byte[] |
getCentralAssetLocation()
Returns the central asset location as an asset reference.
|
int |
getCentralAssetLocationSetting()
Returns the central asset location mode for this catalog.
|
DBMirroring |
getDBMirroring()
Returns the mirroring settings for this catalog.
|
CatalogInfo |
getInfo()
Returns catalog statistics.
|
boolean |
getPublishToInternet()
Returns whether this catalog should be available to WPP/ICP applications.
|
boolean |
getShareCatalog()
Returns whether this catalog is live and accessible for users.
|
TableConfigurationsList |
getTableConfigurationsList()
Returns the class which provides table specific configurations.
|
CatalogWorkflowList |
getWorkflows()
Returns the list of configured workflows.
|
void |
save()
Saves all changes made back to the server.
|
void |
setCatalogName(java.lang.String value)
Sets a new catalog name.
|
void |
setCentralAssetLocation(byte[] value)
Sets the central asset location for this catalog.
|
void |
setCentralAssetLocationSetting(int value)
Configures the central asset location mode for this catalog.
|
void |
setPublishToInternet(boolean value)
Sets whether this catalog should be available to WPP/ICP applications.
|
void |
setShareCatalog(boolean value)
Sets whether this catalog is live and accessible for users.
|
getAllowCatalogCreation, getAssetRelationList, getCatalogCategoryFieldList, getCatalogRecordFieldList, getDescription, getDisplayName, getUseJournaling, keepCategoriesUnique, setAllowCatalogCreation, setDescription, setDisplayName, setKeepCategoriesUnique, setUseJournaling
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, toString, writeAsXML
public static final int CENTRAL_ASSET_LOCATION_MODE_NEVER
public static final int CENTRAL_ASSET_LOCATION_MODE_AS_SET_IN_AHS
public static final int CENTRAL_ASSET_LOCATION_MODE_ALWAYS
public static final int CENTRAL_ASSET_LOCATION_MODE_ALWAYS_EXCLUSIVE
public CatalogSettingsRoot(Catalog catalog, JPack coreData, Saver saver, java.lang.String path, PreferencesImpl preferences, com.canto.cumulus.prefs.BaseManager.ChangeManager changeManager)
public int getCatalogID()
public java.lang.String getCatalogName()
public void setCatalogName(java.lang.String value)
value
- new catalog namepublic java.lang.String getCatalogLocation()
public boolean getShareCatalog()
public void setShareCatalog(boolean value)
value
- set to true if this catalog should be live and accessible for userspublic boolean getPublishToInternet()
public void setPublishToInternet(boolean value)
value
- set to true if this catalog should be available to WPP/ICP applicationspublic int getCentralAssetLocationSetting()
CENTRAL_ASSET_LOCATION_MODE_NEVER
, CENTRAL_ASSET_LOCATION_MODE_ALWAYS
, CENTRAL_ASSET_LOCATION_MODE_ALWAYS_EXCLUSIVE
and CENTRAL_ASSET_LOCATION_MODE_AS_SET_IN_AHS
.
Defaults to CENTRAL_ASSET_LOCATION_MODE_NEVER
.public void setCentralAssetLocationSetting(int value)
CENTRAL_ASSET_LOCATION_MODE_NEVER
, CENTRAL_ASSET_LOCATION_MODE_ALWAYS
, CENTRAL_ASSET_LOCATION_MODE_ALWAYS_EXCLUSIVE
and CENTRAL_ASSET_LOCATION_MODE_AS_SET_IN_AHS
. Do
not forget to set a valid central asset location when activating the location.value
- new mode for central asset locationsetCentralAssetLocation(byte[])
public byte[] getCentralAssetLocation()
AssetReference
public void setCentralAssetLocation(byte[] value)
value
- asset reference as byte[]AssetReference.getAsXML()
public DBMirroring getDBMirroring()
public CatalogInfo getInfo()
public TableConfigurationsList getTableConfigurationsList()
public CatalogWorkflowList getWorkflows()
public CatalogAssetRelationList getAssetRelations()
public void save()
save
in class BaseManager
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.