|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.beans.Inode
public class Inode
| Field Summary | |
|---|---|
protected java.lang.String |
identifier
|
protected java.lang.String |
inode
|
protected java.lang.String |
owner
|
| Constructor Summary | |
|---|---|
Inode()
|
|
| Method Summary | |
|---|---|
java.util.List<PermissionSummary> |
acceptedPermissions()
Returns the list of accepted permission of this permissionable (I.E. |
void |
addChild(Identifier i)
|
void |
addChild(Identifier i,
java.lang.String relationType)
|
void |
addChild(Inode i)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
void |
addChild(Inode i,
java.lang.String relationType)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
void |
addChild(Inode i,
java.lang.String relationType,
int sortOrder)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
void |
addParent(Identifier i)
|
void |
addParent(Inode i)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
void |
addParent(Inode i,
java.lang.String relationType)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
int |
compareTo(java.lang.Object compObject)
|
boolean |
deleteChild(Identifier child)
|
boolean |
deleteChild(Identifier child,
java.lang.String relationType)
|
boolean |
deleteChild(Inode child)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
boolean |
deleteChild(Inode child,
java.lang.String relationType)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
boolean |
deleteParent(Inode parent)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
boolean |
deleteParent(Inode parent,
java.lang.String relationType)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getCategoryId()
|
java.util.Date |
getiDate()
|
java.util.Date |
getIDate()
Returns the iDate. |
java.lang.String |
getIdentifier()
|
java.lang.String |
getInode()
gets the inode (specific version id) of the versionable |
java.util.Map<java.lang.String,java.lang.Object> |
getMap()
Returns a hashmap with all the inode fields |
java.util.Date |
getModDate()
returns the timestamp of when the last modification was made |
java.lang.String |
getModUser()
returns user who last modified the version |
java.lang.String |
getOwner()
Returns the owner. |
Permissionable |
getParentPermissionable()
Retrieves the parent permissionable in the chain of permissions inheritance |
java.lang.String |
getPermissionId()
Sets the id to be used for checking permissions |
java.lang.String |
getPermissionType()
Returns the permission type which this permissionable can inherit from |
java.lang.String |
getTitle()
returns the title of the specific asset |
java.lang.String |
getType()
Returns the type. |
java.lang.String |
getVersionId()
The VersionId is the identifier of the versionable web asset every version of the particular webasset will share the same versionId/Identifier |
java.lang.String |
getVersionType()
this returns the string "type" (the db table) of the versionable web asset. |
boolean |
hasChildren()
|
int |
hashCode()
|
boolean |
hasParents()
|
boolean |
isArchived()
returns if the asset is archived or not |
boolean |
isLive()
returns if the asset is live or not |
boolean |
isLocked()
returns if the asset is locked or not |
boolean |
isNew()
|
boolean |
isParentPermissionable()
Returns true if other asset could inherit permissions from it |
boolean |
isWorking()
returns if the asset is working or not |
java.util.List<RelatedPermissionableGroup> |
permissionDependencies(int requiredPermission)
Based on the given required permission bit, this method should return the list of dependencies that should be check as well on related permissionables before grant the requiredPermission |
void |
setiDate(java.util.Date iDate)
|
void |
setIDate(java.util.Date iDate)
Sets the iDate. |
void |
setIDate(java.lang.String x)
|
void |
setIdentifier(java.lang.String identifier)
|
void |
setInode(java.lang.String inode)
Sets the inode. |
void |
setOwner(java.lang.String owner)
Sets the owner. |
void |
setParents(java.util.List newParents)
Deprecated. Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches |
void |
setType(java.lang.String type)
Sets the type. |
void |
setVersionId(java.lang.String versionId)
sets the versionId (identifier) of the asset |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String owner
protected java.lang.String inode
protected java.lang.String identifier
| Constructor Detail |
|---|
public Inode()
| Method Detail |
|---|
public java.util.Date getModDate()
Versionable
getModDate in interface Versionablepublic java.lang.String getModUser()
Versionable
getModUser in interface Versionablepublic java.lang.String getCategoryId()
getCategoryId in interface Categorizablepublic void setIDate(java.util.Date iDate)
iDate - The iDate to setpublic void setIDate(java.lang.String x)
public java.util.Date getIDate()
public void setInode(java.lang.String inode)
setInode in interface UUIDableinode - The inode to setpublic java.lang.String getInode()
Versionable
getInode in interface UUIDablegetInode in interface Versionablepublic java.lang.String getIdentifier()
public void setIdentifier(java.lang.String identifier)
identifier - The identifier to set.public void setOwner(java.lang.String owner)
setOwner in interface Permissionableowner - The owner to setpublic java.lang.String getOwner()
getOwner in interface Permissionablepublic void setType(java.lang.String type)
type - The type to setpublic java.lang.String getType()
public void addChild(Inode i)
public void addChild(Identifier i)
public void addChild(Inode i,
java.lang.String relationType)
public void addChild(Identifier i,
java.lang.String relationType)
public void addChild(Inode i,
java.lang.String relationType,
int sortOrder)
public void addParent(Inode i)
public void addParent(Identifier i)
public void addParent(Inode i,
java.lang.String relationType)
public boolean deleteChild(Inode child)
child - child to be dissociated
public boolean deleteChild(Identifier child)
public boolean deleteChild(Inode child,
java.lang.String relationType)
child - child to be dissociated
public boolean deleteChild(Identifier child,
java.lang.String relationType)
public boolean deleteParent(Inode parent)
parent - parent to be dissociated
public boolean deleteParent(Inode parent,
java.lang.String relationType)
public void setParents(java.util.List newParents)
newChildren - New children setpublic boolean hasChildren()
public boolean hasParents()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.Date getiDate()
public void setiDate(java.util.Date iDate)
public boolean isNew()
public java.util.Map<java.lang.String,java.lang.Object> getMap()
throws DotStateException,
DotDataException,
DotSecurityException
DotStateException
DotDataException
DotSecurityExceptionpublic int compareTo(java.lang.Object compObject)
compareTo in interface java.lang.Comparablepublic java.lang.String getPermissionId()
Permissionable
getPermissionId in interface Permissionablepublic java.util.List<PermissionSummary> acceptedPermissions()
Permissionable
acceptedPermissions in interface Permissionablepublic java.util.List<RelatedPermissionableGroup> permissionDependencies(int requiredPermission)
Permissionable
permissionDependencies in interface Permissionable
public Permissionable getParentPermissionable()
throws DotDataException
Permissionable
getParentPermissionable in interface PermissionableDotDataExceptionpublic java.lang.String getPermissionType()
Permissionable
getPermissionType in interface Permissionablepublic boolean isParentPermissionable()
Permissionable
isParentPermissionable in interface Permissionablepublic java.lang.String getTitle()
Versionable
getTitle in interface Versionablepublic java.lang.String getVersionId()
Versionable
getVersionId in interface Versionablepublic java.lang.String getVersionType()
Versionable
getVersionType in interface Versionable
public boolean isArchived()
throws DotStateException,
DotDataException,
DotSecurityException
Versionable
isArchived in interface VersionableDotStateException
DotDataException
DotSecurityException
public boolean isLive()
throws DotStateException,
DotDataException,
DotSecurityException
Versionable
isLive in interface VersionableDotStateException
DotDataException
DotSecurityException
public boolean isLocked()
throws DotStateException,
DotDataException,
DotSecurityException
Versionable
isLocked in interface VersionableDotStateException
DotDataException
DotSecurityException
public boolean isWorking()
throws DotStateException,
DotDataException,
DotSecurityException
Versionable
isWorking in interface VersionableDotStateException
DotDataException
DotSecurityExceptionpublic void setVersionId(java.lang.String versionId)
Versionable
setVersionId in interface Versionable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||