|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.model.impl.AbtractBaseObject
public abstract class AbtractBaseObject
Created by The eXo Platform SARL Author : Dang Van Minh minh.dang@exoplatform.com Oct 25, 2012 3:26:08 PM
| Field Summary | |
|---|---|
protected boolean |
isSystem
|
protected static org.exoplatform.services.log.Log |
LOG
|
protected String |
path
|
protected String |
UUID
|
protected String |
workspace
|
| Constructor Summary | |
|---|---|
AbtractBaseObject(String workspace,
String path)
|
|
AbtractBaseObject(String workspace,
String path,
boolean isSystem)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.exoplatform.services.log.Log LOG
protected String workspace
protected String path
protected String UUID
protected boolean isSystem
| Constructor Detail |
|---|
public AbtractBaseObject(String workspace,
String path)
public AbtractBaseObject(String workspace,
String path,
boolean isSystem)
| Method Detail |
|---|
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.BaseObjectjavax.jcr.RepositoryException
javax.jcr.PathNotFoundException
javax.jcr.ValueFormatExceptionpublic Calendar getLastModifiedDate()
getLastModifiedDate in interface org.exoplatform.commons.api.event.data.BaseObjectjavax.jcr.RepositoryException
javax.jcr.PathNotFoundException
javax.jcr.ValueFormatExceptionpublic String getCreator()
javax.jcr.RepositoryException
javax.jcr.PathNotFoundExceptionpublic String getPrimaryType()
getPrimaryType in interface org.exoplatform.commons.api.event.data.BaseObjectjavax.jcr.RepositoryException
javax.jcr.PathNotFoundExceptionpublic List<String> getMixinTypes()
getMixinTypes in interface org.exoplatform.commons.api.event.data.BaseObjectjavax.jcr.RepositoryException
javax.jcr.PathNotFoundExceptionpublic String getWorkspace()
getWorkspace in interface org.exoplatform.commons.api.event.data.BaseObjectpublic String getUUID()
getUUID in interface org.exoplatform.commons.api.event.data.BaseObjectjavax.jcr.RepositoryException
javax.jcr.PathNotFoundException
javax.jcr.UnsupportedRepositoryOperationException
protected javax.jcr.Session getSession()
throws javax.jcr.LoginException,
javax.jcr.NoSuchWorkspaceException,
javax.jcr.RepositoryException
javax.jcr.RepositoryException
javax.jcr.NoSuchWorkspaceException
javax.jcr.LoginExceptionpublic void save()
save in interface org.exoplatform.commons.api.event.data.BaseObjectjavax.jcr.RepositoryException
javax.jcr.NoSuchWorkspaceException
javax.jcr.LoginException
javax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.lock.LockException
javax.jcr.version.VersionException
javax.jcr.InvalidItemStateException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.ItemExistsException
javax.jcr.AccessDeniedExceptionpublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||