Package com.cbe
Class Item
java.lang.Object
com.cbe.Item
A set made up of Container and Object.
Class for an Item.
This is class is the base class of Objects and Containers.
Class for an Item.
This is class is the base class of Objects and Containers.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionItem(long cPtr, boolean cMemoryOwn) Item(DefaultCtor arg0) Conditional comment: Doxygen_Suppress -
Method Summary
Modifier and TypeMethodDescriptionaclMap()Retrieve the map of the permissions the users and groups for this item.aclTag()The ACL of the item.longcreated()Returns the creation date in Unix epoch time.longReturns which database number the container resides on.booleanCheck if data was loaded.voiddelete()longdeleted()Returns the deleted date, if applicable (i.e.A item text description, where applicable.voidfinalize()static longGets the publish informationlonggetShareFromUserId(long userId) Get the shareId by reference of userId.A map of share ids for this item.Gets the subscribe informationlonggetUserFromShareId(long shareId) Get the userId reference of shareId.booleanChecks if it has published info and ifgetPublished()returns a valid object.booleanChecks if it has subscribe info and ifgetSubscribe()returns a valid object.longid()Returns an Items id.booleanidLoaded()if the query did get a resultset.name()Returns the name of the item.longReturns the id of the Items old parent container id
in cases where the item has just been moved.longownerId()Returns the owner id number.longparentId()Returns the id of the Items parent container id.path()Returns the path if applicable.type()Container or Object, see enum in Types.hlongupdated()Returns the updated date/time in Unix epoch timeusername()Returns the username of the owner if applicable.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Item
public Item(long cPtr, boolean cMemoryOwn) -
Item
Conditional comment: Doxygen_Suppress
-
-
Method Details
-
getCPtr
-
finalize
public void finalize() -
delete
public void delete() -
aclTag
The ACL of the item. -
description
A item text description, where applicable. -
id
public long id()Returns an Items id. -
parentId
public long parentId()Returns the id of the Items parent container id. -
oldParentId
public long oldParentId()Returns the id of the Items old parent container id
in cases where the item has just been moved. -
name
Returns the name of the item. -
path
Returns the path if applicable. -
ownerId
public long ownerId()Returns the owner id number. -
databaseId
public long databaseId()Returns which database number the container resides on. -
username
Returns the username of the owner if applicable. -
idLoaded
public boolean idLoaded()if the query did get a resultset. -
dataLoaded
public boolean dataLoaded()Check if data was loaded. -
created
public long created()Returns the creation date in Unix epoch time. -
updated
public long updated()Returns the updated date/time in Unix epoch time -
deleted
public long deleted()Returns the deleted date, if applicable (i.e. is in the bin), in Unix epoch time -
type
Container or Object, see enum in Types.h -
hasPublished
public boolean hasPublished()Checks if it has published info and ifgetPublished()returns a valid object. -
getPublished
Gets the publish information- See Also:
-
hasSubscribe
public boolean hasSubscribe()Checks if it has subscribe info and ifgetSubscribe()returns a valid object. -
getSubscribe
Gets the subscribe information- See Also:
-
aclMap
Retrieve the map of the permissions the users and groups for this item.
-