Package com.saperion.wf
Class BoxDefinitionImpl
- java.lang.Object
-
- com.saperion.wf.BoxDefinitionImpl
-
- All Implemented Interfaces:
BoxDefinition,java.io.Serializable
public class BoxDefinitionImpl extends java.lang.Object implements BoxDefinition
- Author:
- rbo
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.saperion.intf.wf.BoxDefinition
BoxDefinition.BoxType
-
-
Constructor Summary
Constructors Constructor Description BoxDefinitionImpl(int id, java.lang.String name, BoxDefinition.BoxType type, long totalCount, long unreadCount)Constructor.BoxDefinitionImpl(int id, java.lang.String name, BoxDefinition.BoxType type, java.lang.Long totalCount)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBoxID()java.lang.StringgetBoxName()BoxDefinition.BoxTypegetBoxType()java.lang.LonggetTotalCount()Returns the number of total items enclosed by this folder.java.lang.LonggetUnreadCount()Returns the number of unread items enclosed by this folder.java.lang.StringtoString()
-
-
-
Constructor Detail
-
BoxDefinitionImpl
public BoxDefinitionImpl(int id, java.lang.String name, BoxDefinition.BoxType type, java.lang.Long totalCount)Constructor.- Parameters:
id- Idname- Display nametype- TypetotalCount- The total count of workflow items currently in this box.
-
BoxDefinitionImpl
public BoxDefinitionImpl(int id, java.lang.String name, BoxDefinition.BoxType type, long totalCount, long unreadCount)Constructor.- Parameters:
id- Idname- Display nametype- TypetotalCount- The total count of workflow items currently in this box.unreadCount- The count of unread workflow items currently in this box.
-
-
Method Detail
-
getBoxID
public int getBoxID()
- Specified by:
getBoxIDin interfaceBoxDefinition- Returns:
- Identifier
- See Also:
BoxDefinition.getBoxID()
-
getBoxName
public java.lang.String getBoxName()
- Specified by:
getBoxNamein interfaceBoxDefinition- Returns:
- Display name
- See Also:
BoxDefinition.getBoxName()
-
getBoxType
public BoxDefinition.BoxType getBoxType()
- Specified by:
getBoxTypein interfaceBoxDefinition- Returns:
- Type
- See Also:
BoxDefinition.getBoxType()
-
getTotalCount
public java.lang.Long getTotalCount()
Returns the number of total items enclosed by this folder.- Specified by:
getTotalCountin interfaceBoxDefinition- Returns:
- the number of total items enclosed by this folder.
- See Also:
BoxDefinition.getTotalCount()
-
getUnreadCount
public java.lang.Long getUnreadCount()
Returns the number of unread items enclosed by this folder.- Specified by:
getUnreadCountin interfaceBoxDefinition- Returns:
- the number of unread items enclosed by this folder.
- See Also:
BoxDefinition.getUnreadCount()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-