|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.portlets.user.homelibrary.util.accesslog.AccessLogUtil
public class AccessLogUtil
| Field Summary | |
|---|---|
static String |
ADDRESSEES_LABEL
|
static char |
ATTRIBUTE_SEPARATOR
|
static String |
ITEM_ID_LABEL
|
static String |
ITEM_NAME_LABEL
|
static String |
ITEM_TYPE_LABEL
|
static String |
LABEL_SEPARATOR
|
protected static String |
USERS_SEPARATOR
|
| Constructor Summary | |
|---|---|
AccessLogUtil()
|
|
| Method Summary | |
|---|---|
protected static void |
logAction(User user,
HLAccessLogEntryType action,
String message)
|
static void |
logFolderItemCreated(User user,
FolderItem item)
Log an item created action |
static void |
logFolderItemImported(User user,
FolderItem item)
Log an item imported action |
static void |
logFolderItemRemoved(User user,
FolderItem item)
Log an item removed action |
protected static void |
logItemAction(User user,
FolderItem item,
HLAccessLogEntryType type)
|
static void |
logItemSent(User user,
WorkspaceItem item,
List<User> addressees)
Log an item sent action. |
static void |
logWorkspaceCreated(User user)
Log a workspace creation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String USERS_SEPARATOR
public static final char ATTRIBUTE_SEPARATOR
public static final String LABEL_SEPARATOR
public static final String ITEM_ID_LABEL
public static final String ITEM_NAME_LABEL
public static final String ITEM_TYPE_LABEL
public static final String ADDRESSEES_LABEL
| Constructor Detail |
|---|
public AccessLogUtil()
| Method Detail |
|---|
protected static void logAction(User user,
HLAccessLogEntryType action,
String message)
protected static void logItemAction(User user,
FolderItem item,
HLAccessLogEntryType type)
throws InternalErrorException
InternalErrorException
public static void logFolderItemCreated(User user,
FolderItem item)
throws InternalErrorException
user - the user who made the action.item - the created item.
InternalErrorException - if an internal error occurs.
public static void logFolderItemRemoved(User user,
FolderItem item)
throws InternalErrorException
user - the user who made the action.item - the removed item.
InternalErrorException - if an internal error occurs.
public static void logFolderItemImported(User user,
FolderItem item)
throws InternalErrorException
user - the user who made the action.item - the imported item.
InternalErrorException - if an internal error occurs.
public static void logItemSent(User user,
WorkspaceItem item,
List<User> addressees)
throws InternalErrorException
user - the user who made the action.item - the sent item.addressees - the addressees users.
InternalErrorException - if an internal error occurs.public static void logWorkspaceCreated(User user)
user - the workspace owner.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||