|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A IActionInboxCategory describes the type of a
IActionInboxNotification.
All IActionInboxNotifications and belong to such a category.
Copyright 2004 SAP AG
| Field Summary | |
static int |
CREATION_ADD
Creation adds. |
static int |
CREATION_UPDATE
Creation updates. |
static int |
DELETION_ALLOWED
Deletion of items is allowed. |
static int |
DELETION_NOT_ALLOWED
Deletion of items is not allowed. |
static int |
DONE_HANDLING_AUTHORDONE
Linked done items are marked as done for the done author, and marked as delete for all others. |
static int |
DONE_HANDLING_DELETE
Linked done items are deleted. |
static int |
DONE_HANDLING_DONE
Linked done items are all marked as done. |
| Method Summary | |
IActionInboxAction |
getAction(java.lang.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. |
java.lang.String |
getDescription(java.util.Locale locale)
Get a (displayable) description for this category. |
int |
getDoneHandlingType()
Check if deletion of items is allowed for this category. |
java.lang.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. |
java.lang.String |
getName()
Get the name of the category. This name is only unique within the parent's name (see getID()). |
IActionInboxCategory |
getParent()
Get the parent category for this category. |
java.util.Properties |
getRequiredItemProperties()
Get a list of with the required properties. Warning: Only the keys are set for this property bag, all values are set to an empty string! |
java.lang.String |
getResourceType()
|
boolean |
isUsersOnly()
Check if action inboxes for this category are for users only (will lead to autoresolving of recipients). |
| Field Detail |
public static final int CREATION_UPDATE
public static final int CREATION_ADD
public static final int DELETION_NOT_ALLOWED
public static final int DELETION_ALLOWED
public static final int DONE_HANDLING_DONE
public static final int DONE_HANDLING_AUTHORDONE
public static final int DONE_HANDLING_DELETE
| Method Detail |
public java.lang.String getID()
String with the unique ID for this category.public java.lang.String getName()
getID()).String with the category's name.public java.lang.String getDescription(java.util.Locale locale)
locale - a Locale with the preferred language to get the
description for.String with the description for this category.
public IActionInboxCategory getParent()
throws WcmException
IActionInboxCategory with the parent category for
this category or null if no such parent category
exists.a - WcmException if an error occurred.
public IActionInboxAction[] getActions()
throws WcmException
IActionInboxAction for this category.a - WcmException if an error occurred.
public IActionInboxAction getAction(java.lang.String name)
throws WcmException
name - a String with the name of the action to get.IActionInboxAction with the given name for this
category.a - WcmException if an error occurred.
public java.util.Properties getRequiredItemProperties()
throws WcmException
Properties with the keys of the required
properties for this category, all values are set to an empty
string.
public IActionInboxItemCategory getItemCategory(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
throws WcmException
context - 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.a - WcmException if an error occurred.public java.lang.String getResourceType()
public int getCreationType()
throws WcmException
int with the CREATION_... code.a - WcmException if an error occurred.
public int getDeletionType()
throws WcmException
int with the DELETION_... code.a - WcmException if an error occurred.
public int getDoneHandlingType()
throws WcmException
int with the DONE_HANDLING_... code.a - WcmException if an error occurred.
public boolean isUsersOnly()
throws WcmException
boolean true if this category should
send items to users only, false if roles/groups are
allowed as recipients.a - WcmException if an error occurred.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||