public class ObjectCollectionImpl extends java.lang.Object implements PageableObjectCollection
| Constructor and Description |
|---|
ObjectCollectionImpl(CockpitObjectAbstractCollectionModel collectionModel) |
ObjectCollectionImpl(java.util.List<TypedObject> elements,
java.lang.String qualifier,
java.lang.String label,
java.util.Map<java.lang.String,java.lang.String> allLabels,
java.lang.String description,
PK pk,
UserModel user)
Deprecated.
since 6.3
|
ObjectCollectionImpl(java.util.List<TypedObject> elements,
java.lang.String qualifier,
java.lang.String label,
java.util.Map<java.lang.String,java.lang.String> allLabels,
java.lang.String description,
PK pk,
UserModel user,
java.lang.String type)
Deprecated.
since 6.3
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationTime() |
java.lang.String |
getDescription()
Gets the description of the collection.
|
java.util.List<TypedObject> |
getElements()
Gets the elements of the collection in the order they were added to the collection.
|
java.util.List<TypedObject> |
getElements(int offset,
int count)
Returns list of elements starting from the offset.
|
java.lang.String |
getLabel()
Gets the label that is the string that is displayed as a collection name in the cockpit.
|
java.lang.String |
getLabel(java.lang.String iso)
Gets the label for the specified language code.
|
static ModelService |
getModelService() |
java.util.Date |
getModificationTime() |
static ObjectCollectionService |
getObjectCollectionService() |
PK |
getPK()
Gets the pK.
|
java.lang.String |
getQualifier()
Gets the qualifier of the collection.
|
int |
getTotalCount()
Gets the total count of the collection.
|
java.lang.String |
getType()
Gets the type of the collection which is a descriptive string (quickcollection, blacklist, clipboard).
|
UserModel |
getUser()
Gets the user that created this collection.
|
void |
setAllLabels(java.util.Map<java.lang.String,java.lang.String> labels) |
void |
setDescription(java.lang.String description) |
void |
setElements(java.util.List<TypedObject> elements)
Deprecated.
since 6.3
|
void |
setLabel(java.lang.String label) |
void |
setQualifier(java.lang.String qualifier) |
void |
setUser(UserModel user) |
public ObjectCollectionImpl(CockpitObjectAbstractCollectionModel collectionModel)
@Deprecated public ObjectCollectionImpl(java.util.List<TypedObject> elements, java.lang.String qualifier, java.lang.String label, java.util.Map<java.lang.String,java.lang.String> allLabels, java.lang.String description, PK pk, UserModel user)
@Deprecated public ObjectCollectionImpl(java.util.List<TypedObject> elements, java.lang.String qualifier, java.lang.String label, java.util.Map<java.lang.String,java.lang.String> allLabels, java.lang.String description, PK pk, UserModel user, java.lang.String type)
public java.util.List<TypedObject> getElements()
ObjectCollectiongetElements in interface ObjectCollection@Deprecated public void setElements(java.util.List<TypedObject> elements)
public java.util.List<TypedObject> getElements(int offset, int count)
PageableObjectCollectiongetElements in interface PageableObjectCollectionoffset - starting indexcount - maximum count of elements to be fetchedpublic java.lang.String getQualifier()
ObjectCollectiongetQualifier in interface ObjectCollectionpublic void setQualifier(java.lang.String qualifier)
public java.lang.String getLabel()
ObjectCollectiongetLabel in interface ObjectCollectionpublic void setLabel(java.lang.String label)
public void setAllLabels(java.util.Map<java.lang.String,java.lang.String> labels)
public java.lang.String getDescription()
ObjectCollectiongetDescription in interface ObjectCollectionpublic void setDescription(java.lang.String description)
public int getTotalCount()
ObjectCollectiongetTotalCount in interface ObjectCollectionpublic java.util.Date getCreationTime()
public java.util.Date getModificationTime()
public java.lang.String getType()
ObjectCollectiongetType in interface ObjectCollectionpublic PK getPK()
ObjectCollectiongetPK in interface ObjectCollectionpublic void setUser(UserModel user)
public UserModel getUser()
ObjectCollectiongetUser in interface ObjectCollectionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String getLabel(java.lang.String iso)
ObjectCollectiongetLabel in interface ObjectCollectioniso - the isopublic static ModelService getModelService()
public static ObjectCollectionService getObjectCollectionService()
Copyright © 2018 SAP SE. All Rights Reserved.