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