|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.service.actioninbox.AbstractActionInboxCategory
A base implementation for an IActionInboxCategory.
Copyright 2004 SAP AG
| Field Summary |
| Fields inherited from interface com.sapportals.wcm.service.actioninbox.IActionInboxCategory |
CREATION_ADD, CREATION_UPDATE, DELETION_ALLOWED, DELETION_NOT_ALLOWED, DONE_HANDLING_AUTHORDONE, DONE_HANDLING_DELETE, DONE_HANDLING_DONE |
| Constructor Summary | |
AbstractActionInboxCategory(IActionInboxService manager,
String name,
IActionInboxCategory parent,
Descriptions descriptions,
Properties requiredItemProperties,
String resourceType,
HashMap actions,
int creationType,
int deletionType,
int doneHandlingType,
boolean isUsersOnly)
|
|
| Method Summary | |
IActionInboxAction |
getAction(String name)
Get a specific action by name. |
IActionInboxAction[] |
getActions()
Get a list of available actions for this category. |
int |
getCreationType()
Check if creation of items is allowed for this category. |
int |
getDeletionType()
Check if deletion of items is allowed for this category. |
String |
getDescription(Locale locale)
Get a (displayable) description for this category. |
int |
getDoneHandlingType()
Check if deletion of items is allowed for this category. |
String |
getID()
Get the unique ID (the full path) of the category. |
IActionInboxItemCategory |
getItemCategory(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
Get an item category for a specific user/group/role. |
String |
getName()
Get the name of the category. |
IActionInboxCategory |
getParent()
Get the parent category for this category. |
Properties |
getRequiredItemProperties()
Get a list of with the required properties. |
String |
getResourceType()
|
boolean |
isUsersOnly()
Check if action inboxes for this category are for users only (will lead to autoresolving of recipients). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractActionInboxCategory(IActionInboxService manager,
String name,
IActionInboxCategory parent,
Descriptions descriptions,
Properties requiredItemProperties,
String resourceType,
HashMap actions,
int creationType,
int deletionType,
int doneHandlingType,
boolean isUsersOnly)
throws WcmException
| Method Detail |
public String getID()
IActionInboxCategory
getID in interface IActionInboxCategoryString with the unique ID for this category.public String getName()
IActionInboxCategorygetID()).
getName in interface IActionInboxCategoryString with the category's name.public String getDescription(Locale locale)
IActionInboxCategory
getDescription in interface IActionInboxCategorylocale - a Locale with the preferred language to get the
description for.
String with the description for this category.
public IActionInboxCategory getParent()
throws WcmException
IActionInboxCategory
getParent in interface IActionInboxCategoryIActionInboxCategory with the parent category for
this category or null if no such parent category
exists.
WcmException
public IActionInboxAction[] getActions()
throws WcmException
IActionInboxCategory
getActions in interface IActionInboxCategoryIActionInboxAction for this category.
WcmException
public IActionInboxAction getAction(String name)
throws WcmException
IActionInboxCategory
getAction in interface IActionInboxCategoryname - a String with the name of the action to get.
IActionInboxAction with the given name for this
category.
WcmException
public Properties getRequiredItemProperties()
throws WcmException
IActionInboxCategory
getRequiredItemProperties in interface IActionInboxCategoryProperties with the keys of the required
properties for this category, all values are set to an empty
string.
WcmExceptionpublic String getResourceType()
getResourceType in interface IActionInboxCategory
public IActionInboxItemCategory getItemCategory(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
throws WcmException
IActionInboxCategory
getItemCategory in interface IActionInboxCategorycontext - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.
IActionInboxItemCategory with the inbox category
for the given user/group/role.
WcmException
public int getCreationType()
throws WcmException
IActionInboxCategory
getCreationType in interface IActionInboxCategoryint with the CREATION_... code.
WcmException
public int getDeletionType()
throws WcmException
IActionInboxCategory
getDeletionType in interface IActionInboxCategoryint with the DELETION_... code.
WcmException
public int getDoneHandlingType()
throws WcmException
IActionInboxCategory
getDoneHandlingType in interface IActionInboxCategoryint with the DONE_HANDLING_... code.
WcmException
public boolean isUsersOnly()
throws WcmException
IActionInboxCategory
isUsersOnly in interface IActionInboxCategoryboolean true if this category should
send items to users only, false if roles/groups are
allowed as recipients.
WcmException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||