|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.LogEntry
public class LogEntry
Representation of a log entry. Log entry is a record of a single action performed on the registry.
Field Summary | |
---|---|
static int |
ADD
Filter value for the resource adding action. |
static int |
ADD_ASSOCIATION
Filter value for the adding association action. |
static int |
ALL
The log action to filter with. |
static int |
ASSOCIATE_ASPECT
Filter value for the associating an aspect action. |
static int |
COMMENT
Filter value for the resource comment action. |
static int |
COPY
Filter value for the resource copying action. |
static int |
CREATE_REMOTE_LINK
Filter value for the creating remote link action. |
static int |
CREATE_SYMBOLIC_LINK
Filter value for the creating symbolic link action. |
static int |
DELETE_COMMENT
Filter value for the action of deleting a comment. |
static int |
DELETE_RESOURCE
Filter value for the resource deleting action. |
static int |
MOVE
Filter value for the resource moving action. |
static int |
RATING
Filter value for the resource rating action. |
static int |
REMOVE_ASSOCIATION
Filter value for the removing association action. |
static int |
REMOVE_LINK
Filter value for the removing link action. |
static int |
REMOVE_TAG
Filter value for the action of removing a tag. |
static int |
RENAME
Filter value for the resource renaming action. |
static int |
RESTORE
Filter value for the resource restoring action. |
static int |
TAG
Filter value for the resource tagging action. |
static int |
UPDATE
Filter value for the resource updating action. |
Constructor Summary | |
---|---|
LogEntry()
|
Method Summary | |
---|---|
int |
getAction()
Method to get the action. |
String |
getActionData()
Method to get the action data. |
Date |
getDate()
Method to get the date. |
String |
getResourcePath()
Get the resource path of the log entry. |
String |
getText()
Method to set the text for the log entry. |
String |
getTitle()
Method to get the title of the log entry. |
String |
getUserName()
Method to get the user name the action is logged with. |
void |
setAction(int action)
Method to set the action. |
void |
setActionData(String actionData)
Method to set the action data. |
void |
setDate(Date date)
Method to set the date. |
void |
setResourcePath(String resourcePath)
Set the resource path to the log entry. |
void |
setUserName(String userName)
Set the user name the action is logged with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALL
public static final int ADD
public static final int UPDATE
public static final int COMMENT
public static final int DELETE_COMMENT
public static final int TAG
public static final int REMOVE_TAG
public static final int RATING
public static final int DELETE_RESOURCE
public static final int RESTORE
public static final int RENAME
public static final int MOVE
public static final int COPY
public static final int CREATE_REMOTE_LINK
public static final int CREATE_SYMBOLIC_LINK
public static final int REMOVE_LINK
public static final int ADD_ASSOCIATION
public static final int REMOVE_ASSOCIATION
public static final int ASSOCIATE_ASPECT
Constructor Detail |
---|
public LogEntry()
Method Detail |
---|
public String getResourcePath()
public void setResourcePath(String resourcePath)
resourcePath
- the resource path.public String getUserName()
public void setUserName(String userName)
userName
- the user namepublic Date getDate()
public void setDate(Date date)
date
- the datepublic int getAction()
public void setAction(int action)
action
- the action.public String getActionData()
public void setActionData(String actionData)
actionData
- the action data.public String getTitle()
public String getText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |