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 int
getBoxID()
java.lang.String
getBoxName()
BoxDefinition.BoxType
getBoxType()
java.lang.Long
getTotalCount()
Returns the number of total items enclosed by this folder.java.lang.Long
getUnreadCount()
Returns the number of unread items enclosed by this folder.java.lang.String
toString()
-
-
-
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:
getBoxID
in interfaceBoxDefinition
- Returns:
- Identifier
- See Also:
BoxDefinition.getBoxID()
-
getBoxName
public java.lang.String getBoxName()
- Specified by:
getBoxName
in interfaceBoxDefinition
- Returns:
- Display name
- See Also:
BoxDefinition.getBoxName()
-
getBoxType
public BoxDefinition.BoxType getBoxType()
- Specified by:
getBoxType
in 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:
getTotalCount
in 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:
getUnreadCount
in interfaceBoxDefinition
- Returns:
- the number of unread items enclosed by this folder.
- See Also:
BoxDefinition.getUnreadCount()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-