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.long
created()
Returns the creation date in Unix epoch time.long
Returns which database number the container resides on.boolean
Check if data was loaded.void
delete()
long
deleted()
Returns the deleted date, if applicable (i.e.A item text description, where applicable.void
finalize()
static long
Gets the publish informationlong
getShareFromUserId
(long userId) Get the shareId by reference of userId.A map of share ids for this item.Gets the subscribe informationlong
getUserFromShareId
(long shareId) Get the userId reference of shareId.boolean
Checks if it has published info and ifgetPublished()
returns a valid object.boolean
Checks if it has subscribe info and ifgetSubscribe()
returns a valid object.long
id()
Returns an Items id.boolean
idLoaded()
if the query did get a resultset.name()
Returns the name of the item.long
Returns the id of the Items old parent container id
in cases where the item has just been moved.long
ownerId()
Returns the owner id number.long
parentId()
Returns the id of the Items parent container id.path()
Returns the path if applicable.type()
Container or Object, see enum in Types.hlong
updated()
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.
-