public class RecordItem extends Item
Cumulus.TABLE_NAME_ASSET_RECORDS
table of a Cumulus catalog.Modifier and Type | Method and Description |
---|---|
CategoriesFieldValue |
getCategoriesValue()
Get the value of the field "Categories" which stores the IDs of the categories that this record item is assigned to.
|
java.util.Set<java.lang.String> |
getCollections(boolean searchSharedCollections,
boolean searchUserCollections,
java.util.EnumSet<CollectionType> acceptedTypes)
Find all collections that this record item is part of and return their names.
|
RecordItemCollection |
getRecordItemCollection()
Return the collection object that this record item comes from.
|
void |
setCategoriesValue(CategoriesFieldValue categoriesValue)
Modify the category assignment of this record item.
|
java.lang.String |
toString()
Return a string representation of this record item.
|
applyPermissionTemplate, checkin, checkin, checkout, clearModifiedValue, clearValue, convertAsset, copyAsset, deleteItem, deleteItem, deleteItem, doAssetAction, doAssetAction, doAssetAction, equals, getAssetReferenceValue, getAssetXRefValue, getBinaryValue, getBooleanValue, getCatalogID, getCumulusSession, getDataSizeValue, getDateOnlyValue, getDateValue, getDisplayString, getDisplayString, getDisplayString, getDoubleValue, getID, getIntValue, getItemCollection, getItemIdentifier, getLabelValue, getLengthInInchValue, getLongValue, getPictureValue, getRatingValue, getResolutionValue, getStringEnumValue, getStringValue, getStringValue, getTableValue, getTimeOnlyValue, getUserUIDValue, getVocabularyValue, hashCode, hasValue, isCheckedOut, logUsage, matchesQuery, moveAsset, renameAsset, rollback, save, save, setAssetReferenceValue, setAssetXRefValue, setBinaryValue, setBooleanValue, setDataSizeValue, setDateOnlyValue, setDateValue, setDoubleValue, setIntValue, setLabelValue, setLengthInInchValue, setLongValue, setPictureValue, setRatingValue, setResolutionValue, setStringEnumValue, setStringValue, setTimeOnlyValue, setVocabularyValue, undoCheckout, update, update, updateAsset, updateAssetReference, updateAssetReference, updateFormulaFields, validate
public RecordItemCollection getRecordItemCollection()
public CategoriesFieldValue getCategoriesValue() throws CumulusException
CumulusException
- on error.public void setCategoriesValue(CategoriesFieldValue categoriesValue) throws CumulusException
Item.save()
to store the changes made to this record item in the catalog. You
can pass the field value wrapper object of another record item here but it has to come from the same catalog.categoriesValue
- The field value wrapper containing the assigned categories.CumulusException
- on errorpublic java.util.Set<java.lang.String> getCollections(boolean searchSharedCollections, boolean searchUserCollections, java.util.EnumSet<CollectionType> acceptedTypes)
searchSharedCollections
- search in shared collectionssearchUserCollections
- search in the current user's private collectionspublic java.lang.String toString()
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.