| java.lang.Object com.flexive.war.javascript.BriefcaseEditor
BriefcaseEditor | public class BriefcaseEditor implements Serializable(Code) | | JSON/RPC beans for the briefcase navigation page.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 1 $ |
Method Summary | |
public String | add(long id, long[] itemIds) Add the given items to the given briefcase ID. | public String | create(String name) Creates a new private briefcase with the given name. | public String | remove(long id) Delete the briefcase with the given ID. | public String | removeItems(long id, long[] itemIds) Remove the given items from the briefcase with the given ID. | public String | rename(long id, String name) Rename a briefcase. | public String | renderBriefcases() Renders all briefcases of the calling user. | public String | share(long id, long aclId) Share a briefcase.
Parameters: id - the briefcase ID Parameters: aclId - the ACL id. |
add | public String add(long id, long[] itemIds) throws Exception(Code) | | Add the given items to the given briefcase ID.
Parameters: id - the briefcase id Parameters: itemIds - the item id(s) nothing throws: Exception - if the briefcase could not be deleted |
create | public String create(String name) throws Exception(Code) | | Creates a new private briefcase with the given name.
Parameters: name - the briefcase name nothing throws: Exception - on server-side errors |
remove | public String remove(long id) throws Exception(Code) | | Delete the briefcase with the given ID.
Parameters: id - the briefcase ID nothing throws: Exception - if the briefcase could not be deleted |
removeItems | public String removeItems(long id, long[] itemIds) throws Exception(Code) | | Remove the given items from the briefcase with the given ID.
Parameters: id - the briefcase ID Parameters: itemIds - the item ids nothing throws: Exception - if the briefcase could not be deleted |
rename | public String rename(long id, String name) throws Exception(Code) | | Rename a briefcase.
Parameters: id - the briefcase ID Parameters: name - the new briefcase name nothing throws: Exception - if the briefcase could not be renamed |
renderBriefcases | public String renderBriefcases() throws Exception(Code) | | Renders all briefcases of the calling user.
all briefcases of the calling user (in JSON format). throws: Exception - on server-side errors |
share | public String share(long id, long aclId) throws Exception(Code) | | Share a briefcase.
Parameters: id - the briefcase ID Parameters: aclId - the ACL id. Set to -1 to "un-share" the briefcase. nothing throws: Exception - if the briefcase could not be shared |
|
|