public abstract class AbtractBaseObject extends Object implements org.exoplatform.commons.api.event.data.BaseObject
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isSystem |
protected static org.exoplatform.services.log.Log |
LOG |
protected String |
path |
protected String |
UUID |
protected String |
workspace |
| Constructor and Description |
|---|
AbtractBaseObject(String workspace,
String path) |
AbtractBaseObject(String workspace,
String path,
boolean isSystem) |
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getCreatedDate()
Get Object created date
|
String |
getCreator()
Get Object Creator
|
protected javax.jcr.Node |
getJCRNode() |
Calendar |
getLastModifiedDate()
Get Object last modified date
|
String |
getLastModifier() |
List<String> |
getMixinTypes()
Get Object mixin types
|
String |
getName()
Get object name
|
abstract String |
getObjectType() |
String |
getOwner() |
String |
getPath()
Get Object path
|
String |
getPrimaryType()
Get Object Primary Type
|
String |
getRating() |
protected javax.jcr.Session |
getSession() |
List<String> |
getTags() |
String |
getTitle() |
String |
getUUID()
Get Object UUID
|
String |
getWorkspace()
Get workspace name where stored current object.
|
void |
save() |
protected static final org.exoplatform.services.log.Log LOG
protected String workspace
protected String path
protected String UUID
protected boolean isSystem
public String getName()
getName in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getPath()
getPath in interface org.exoplatform.commons.api.event.data.BaseObjectpublic Calendar getCreatedDate()
getCreatedDate in interface org.exoplatform.commons.api.event.data.BaseObjectpublic Calendar getLastModifiedDate()
getLastModifiedDate in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getCreator()
public String getPrimaryType()
getPrimaryType in interface org.exoplatform.commons.api.event.data.BaseObjectpublic List<String> getMixinTypes()
getMixinTypes in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getWorkspace()
getWorkspace in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getUUID()
getUUID in interface org.exoplatform.commons.api.event.data.BaseObjectprotected javax.jcr.Session getSession()
throws javax.jcr.LoginException,
javax.jcr.NoSuchWorkspaceException,
javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionjavax.jcr.NoSuchWorkspaceExceptionjavax.jcr.LoginExceptionpublic void save()
save in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getTitle()
getTitle in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getLastModifier()
getLastModifier in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getOwner()
getOwner in interface org.exoplatform.commons.api.event.data.BaseObjectpublic List<String> getTags()
getTags in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getRating()
getRating in interface org.exoplatform.commons.api.event.data.BaseObjectpublic abstract String getObjectType()
protected javax.jcr.Node getJCRNode()
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.