 |
C++
1.4.6
CloudBackend Software Development Kit - SDK API for C++
|
5 #ifndef INCLUDE_CBE_ITEM_H_
6 #define INCLUDE_CBE_ITEM_H_
13 #include "CBE/Types.h"
30 virtual std::map<uint64_t, std::vector<CBE::ShareData>>
getShareIds()
const;
51 virtual std::string
aclTag()
const;
65 virtual CBE::item_id_t
id()
const;
73 virtual CBE::container_id_t
parentId()
const;
87 virtual std::string
name()
const;
94 virtual std::string
path()
const;
101 virtual CBE::user_id_t
ownerId()
const;
109 virtual CBE::container_id_t
driveId()
const;
116 virtual std::string
username()
const;
139 virtual CBE::date_t
created()
const;
146 virtual CBE::date_t
updated()
const;
153 virtual CBE::date_t
deleted()
const;
160 virtual CBE::item_t
type()
const;
176 std::map<uint64_t, CBE::permission_status_t>
ACLMap()
const;
193 #endif // INCLUDE_XAPI_ITEM_H_
virtual CBE::container_id_t oldParentId() const
gets the numerical id of the old parent container in case it has moved.
virtual CBE::container_id_t parentId() const
Returns the id of the Items parent.
virtual std::string path() const
Returns the path if it is available.
virtual CBE::share_id_t getShareFromUserId(user_id_t userId)
Get the shareId from userId.
virtual CBE::date_t deleted() const
Returns the delete date and time in Epoch Unix timestamp if object was removed.
virtual CBE::user_id_t ownerId() const
Returns the owner id.
virtual CBE::item_id_t id() const
Returns an Items id.
virtual CBE::date_t created() const
Returns the creation date and time in Epoch Unix timestamp.
virtual std::string aclTag() const
Get the ACL tag of the item.
virtual bool dataLoaded() const
data loaded
virtual CBE::container_id_t driveId() const
Returns which drive the container resides on. For future implementation.
std::map< uint64_t, CBE::permission_status_t > ACLMap() const
Type definition of the ACL map.
virtual std::string name() const
Returns the name (title) of the item.
virtual bool idLoaded() const
has anything been loaded?
virtual ~Item()
This function should not be called as it will not continue to be public and any call made on the item...
Definition: Item.h:179
virtual CBE::item_t type() const
Container or Object.
virtual bool operator<(const CBE::Item &other) const
operator <
virtual std::string description() const
Get a description of the item if it is available.
virtual CBE::user_id_t getUserFromShareId(user_id_t shareId)
Get the shareId from userId.
virtual std::string username() const
Returns the username of a Containers' owner.
virtual std::map< uint64_t, std::vector< CBE::ShareData > > getShareIds() const
Get the Share Ids object.
virtual CBE::date_t updated() const
Returns the updated date and time in Epoch Unix timestamp.