Package | Description |
---|---|
com.fatwire.assetapi.site |
Modifier and Type | Method and Description |
---|---|
void |
RoleManager.create(List<Role> roles)
Create a list of roles in Content Server
|
void |
SiteManager.create(List<Site> sites)
Creates a list of Sites
|
void |
UserManager.create(List<User> users)
Creates a list of Content Server Users
|
void |
UserManager.delete(List<String> usernames)
Deletes the list of Users from Content Server
|
void |
SiteManager.delete(List<String> siteNames)
Deletes the list of Sites of given names
|
void |
RoleManager.delete(List<String> rolenames)
Delete the list of roles from Content Server
|
List<SAFEPermission> |
PermissionManager.getSAFEPermissions(AssetId asset)
Retrieves the list of SAFE permissions defined for this asset
|
UserDef |
UserManager.getUserDef()
Gets the user definition for creation of Content Server user
|
boolean |
PermissionManager.isAssetPermissionGranted(String site, String assettype, String subtype, String user, Permission.AssetFunctionEnum function)
Checks whether user has the start menu permission for the given site, aset type, subtype; there is no corresponding set method in this API because the start menu permissions are decided by user Roles in the site, so it will be changed by changing the user Roles
|
boolean |
Permission.isAssetPermissionGranted(String site, String assettype, String subtype, String user, Permission.AssetFunctionEnum function)
Checks whether user has the start menu permission for the given site, aset type, subtype; there is no corresponding set method in this API because the start menu permissions are decided by user Roles in the site, so it will be changed by changing the user Roles
|
boolean |
PermissionManager.isSAFEPermissionGranted(String site, AssetId asset, String user, Permission.AssetSafeFunctionEnum function)
Checks whether the user has SAFE permission for the given asset in the given site
|
boolean |
Permission.isSAFEPermissionGranted(String site, AssetId asset, String user, Permission.AssetSafeFunctionEnum function)
Checks whether the user has SAFE permission for the given asset in the given site
|
List<String> |
UserManager.list()
Lists all the user names in Content Server
|
List<SiteInfo> |
SiteManager.list()
Gets the list of SiteInfo exist in Content Server
|
QueryResultWrapper<List<String>> |
UserManager.list(Condition query, boolean asc, int startindex, int count)
Lists all the user names that satisfying the query conditions
|
QueryResultWrapper<List<SiteInfo>> |
SiteManager.list(Condition query, List<SortOrder> sortorders, int start, int count)
Gets the list of SiteInfo exist in Content Server
|
List<CCFunction> |
PermissionManager.listFunctions()
Gets the list of CCFunctions defined in Content Server
|
QueryResultWrapper<List<User>> |
UserManager.read(Condition query)
Reads a list of Content Server users that satisfies the given Condition
|
QueryResultWrapper<List<Site>> |
SiteManager.read(Condition query)
Gets a list of Sites that satisfies the Condition passed in
|
QueryResultWrapper<List<Role>> |
RoleManager.read(Condition query)
Read a list of roles from Content Server with a Condition.
|
QueryResultWrapper<List<User>> |
UserManager.read(Condition query, List<SortOrder> sortOrders, int startindex, int count)
Reads a list of Content Server users that satisfies the given Condition
|
QueryResultWrapper<List<Site>> |
SiteManager.read(Condition query, List<SortOrder> sortorders, int start, int count)
Gets a list of Sites that satisfies the Condition passed in
|
QueryResultWrapper<List<Role>> |
RoleManager.read(Condition query, List<SortOrder> sortorders, int start, int count)
Read a list of roles from Content Server with a Condition.
|
List<User> |
UserManager.read(List<String> usernames)
Reads a list of Content Server users with the user name
|
List<Site> |
SiteManager.read(List<String> siteNames)
Gets the list of Sites given the Site names.
|
List<Role> |
RoleManager.read(List<String> names)
Read a list of Roles from Content Server with list of Role names
|
void |
PermissionManager.setSAFEPermission(String site, AssetId asset, List<SAFEPermission> permissions)
Set the user's SAFE permission for the given site, asset, and function
|
void |
RoleManager.update(List<Role> roles)
Update the existing roles in Content Server with new information
|
void |
SiteManager.update(List<Site> sites)
Updates the Site information for the list of passed Sites
|
void |
UserManager.update(List<User> users)
Updates a list of Content Server users
|