Class ObjectCollectionImpl
java.lang.Object
de.hybris.platform.cockpit.model.collection.impl.ObjectCollectionImpl
- All Implemented Interfaces:
ObjectCollection,PageableObjectCollection
-
Constructor Summary
ConstructorsConstructorDescriptionObjectCollectionImpl(CockpitObjectAbstractCollectionModel collectionModel) ObjectCollectionImpl(List<TypedObject> elements, String qualifier, String label, Map<String, String> allLabels, String description, PK pk, UserModel user) Deprecated.since 6.3ObjectCollectionImpl(List<TypedObject> elements, String qualifier, String label, Map<String, String> allLabels, String description, PK pk, UserModel user, String type) Deprecated.since 6.3 -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the description of the collection.Gets the elements of the collection in the order they were added to the collection.getElements(int offset, int count) Returns list of elements starting from the offset.getLabel()Gets the label that is the string that is displayed as a collection name in the cockpit.Gets the label for the specified language code.static ModelServicestatic ObjectCollectionServicegetPK()Gets the pK.Gets the qualifier of the collection.intGets the total count of the collection.getType()Gets the type of the collection which is a descriptive string (quickcollection, blacklist, clipboard).getUser()Gets the user that created this collection.voidsetAllLabels(Map<String, String> labels) voidsetDescription(String description) voidsetElements(List<TypedObject> elements) Deprecated.since 6.3voidvoidsetQualifier(String qualifier) void
-
Constructor Details
-
ObjectCollectionImpl
-
ObjectCollectionImpl
@Deprecated public ObjectCollectionImpl(List<TypedObject> elements, String qualifier, String label, Map<String, String> allLabels, String description, PK pk, UserModel user) Deprecated.since 6.3 -
ObjectCollectionImpl
@Deprecated public ObjectCollectionImpl(List<TypedObject> elements, String qualifier, String label, Map<String, String> allLabels, String description, PK pk, UserModel user, String type) Deprecated.since 6.3
-
-
Method Details
-
getElements
Description copied from interface:ObjectCollectionGets the elements of the collection in the order they were added to the collection.- Specified by:
getElementsin interfaceObjectCollection- Returns:
- the elements
-
setElements
Deprecated.since 6.3 -
getElements
Description copied from interface:PageableObjectCollectionReturns list of elements starting from the offset. Size is limited to count.- Specified by:
getElementsin interfacePageableObjectCollection- Parameters:
offset- starting indexcount- maximum count of elements to be fetched- Returns:
- list of elements according to given offset and count
-
getQualifier
Description copied from interface:ObjectCollectionGets the qualifier of the collection.- Specified by:
getQualifierin interfaceObjectCollection- Returns:
- the qualifier
-
setQualifier
-
getLabel
Description copied from interface:ObjectCollectionGets the label that is the string that is displayed as a collection name in the cockpit.- Specified by:
getLabelin interfaceObjectCollection- Returns:
- the label
-
setLabel
-
setAllLabels
-
getDescription
Description copied from interface:ObjectCollectionGets the description of the collection. Is not displayed anywhere for this moment.- Specified by:
getDescriptionin interfaceObjectCollection- Returns:
- the description
-
setDescription
-
getTotalCount
public int getTotalCount()Description copied from interface:ObjectCollectionGets the total count of the collection. It is displayed in the parentheses after the collection label in the cockpit.- Specified by:
getTotalCountin interfaceObjectCollection- Returns:
- the total count
-
getCreationTime
-
getModificationTime
-
getType
Description copied from interface:ObjectCollectionGets the type of the collection which is a descriptive string (quickcollection, blacklist, clipboard).- Specified by:
getTypein interfaceObjectCollection- Returns:
- the type
-
getPK
Description copied from interface:ObjectCollectionGets the pK.- Specified by:
getPKin interfaceObjectCollection- Returns:
- the pK
-
setUser
-
getUser
Description copied from interface:ObjectCollectionGets the user that created this collection.- Specified by:
getUserin interfaceObjectCollection- Returns:
- the user
-
equals
-
getLabel
Description copied from interface:ObjectCollectionGets the label for the specified language code.- Specified by:
getLabelin interfaceObjectCollection- Parameters:
iso- the iso- Returns:
- the label
-
getModelService
-
getObjectCollectionService
-