|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.service.DocumentEvent
public class DocumentEvent
DocumentEvent are sent by DocumentService to notify documents changes to listeners.
Field Summary | |
---|---|
static int |
DOCUMENT_CONTENT_MODIFIED
|
static int |
DOCUMENT_CREATED
|
static int |
DOCUMENT_MOVED
|
static int |
DOCUMENT_STATE_CHANGED
|
Constructor Summary | |
---|---|
DocumentEvent(Document document,
fr.paris.lutece.portal.business.user.AdminUser user,
int nType)
Creates a new instance of DocumentEvent |
Method Summary | |
---|---|
Document |
getDocument()
Returns the Document |
int |
getEventType()
Returns the EventType |
int |
getSpaceId()
Returns the space id of the document before any rule has been applied |
int |
getStateId()
Returns the state id of the document before any rule has been applied |
fr.paris.lutece.portal.business.user.AdminUser |
getUser()
Returns the User |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DOCUMENT_CREATED
public static final int DOCUMENT_CONTENT_MODIFIED
public static final int DOCUMENT_STATE_CHANGED
public static final int DOCUMENT_MOVED
Constructor Detail |
---|
public DocumentEvent(Document document, fr.paris.lutece.portal.business.user.AdminUser user, int nType)
Method Detail |
---|
public int getEventType()
public Document getDocument()
public fr.paris.lutece.portal.business.user.AdminUser getUser()
public int getSpaceId()
public int getStateId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |