public interface Item
Modifier and Type | Method and Description |
---|---|
JPack |
exportSet()
Exports this item into a
JPack . |
java.lang.String |
getDescription(int languageID)
Returns the description for the given language id.
|
java.lang.String |
getDisplayName(int languageID,
boolean fallbackToDefaultName)
Returns the display name for the given language id.
|
java.lang.String |
getID()
Returns the UID of the item in the items namespace.
|
RestrictionsList |
getRestrictionsList()
Returns the list of restrictions for this item.
|
boolean |
isDefault()
Returns whether this item is the default item.
|
boolean |
isSharingRestricted()
Returns whether the set visibility is restricted to a group of users or roles.
|
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 display name for the given language.
|
void |
setSharingRestricted(boolean value)
Sets whether the set visibility is restricted to a group of users or roles.
|
java.lang.String getID()
boolean isDefault()
java.lang.String getDescription(int languageID)
languageID
- specifying the language for the descriptionvoid setDescription(int languageID, java.lang.String description)
languageID
- the language to set the description fordescription
- the new descriptionjava.lang.String getDisplayName(int languageID, boolean fallbackToDefaultName)
languageID
- specifying the language for the display namefallbackToDefaultName
- when set to true this method returns the default name when now localized display name is available otherwise nullvoid setDisplayName(int languageID, java.lang.String displayName)
languageID
- the language to set the display name fordisplayName
- the new display nameJPack exportSet()
JPack
.JPack
boolean isSharingRestricted()
void setSharingRestricted(boolean value)
value
- set to true if the set visibility should be restricted to a group of users or rolesRestrictionsList getRestrictionsList()
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.