public enum CollectionType extends java.lang.Enum<CollectionType>
MultiRecordItemCollection.save(String, boolean, CollectionType)
Enum Constant and Description |
---|
AUTO_COLLECTION
The type for a collection that is automatically opened and saved by a client.
|
COLLECTION_BASKET
The type for a collection containing a collection basket.
|
CUSTOM_COLLECTION
The type for a collection to be used by integrators which will not be shown by Cumulus client applications.
|
NORMAL_COLLECTION
The type for a normal collection (manually created and opened).
|
PIN_COLLECTION
The type for a PIN collection.
|
UPLOAD_COLLECTION
The type for a collection that dynamically finds all records that have been uploaded into this collection.
|
Modifier and Type | Method and Description |
---|---|
static CollectionType |
findType(int id)
Finds the collection type for the given id.
|
int |
getID()
Returns the id for this collection type.
|
static CollectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionType NORMAL_COLLECTION
public static final CollectionType AUTO_COLLECTION
public static final CollectionType COLLECTION_BASKET
public static final CollectionType PIN_COLLECTION
public static final CollectionType CUSTOM_COLLECTION
CustomData
instance provided by CollectionSet.getCustomData()
to store additional information
with the collection.public static final CollectionType UPLOAD_COLLECTION
public static CollectionType[] values()
for (CollectionType c : CollectionType.values()) System.out.println(c);
public static CollectionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getID()
findType(int)
public static CollectionType findType(int id)
id
- wanted idNORMAL_COLLECTION
if the given id cannot be foundgetID()
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.