| java.lang.Object com.flexive.ejb.beans.BriefcaseEngineBean
BriefcaseEngineBean | public class BriefcaseEngineBean implements BriefcaseEngine,BriefcaseEngineLocal(Code) | | Bean handling Briefcases.
A briefcase is a object store which may be accessed with flexive SQL
or the API provided by this beans.
author: Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Method Summary | |
public void | addItems(long id, long[] objectIds) | public void | clear(long id) | public long | create(String name, String description, Long aclId) | public long[] | getItems(long id) | public List<Briefcase> | getList(boolean includeShared) | public static String | getSqlAccessFilter(String briefcaseTblAlias, boolean includeShared, ACL.Permission... perms) Builds a sql filer that only selects briefcases that the calling user has permissions on. | public Briefcase | load(long id) | public void | modify(long id, String name, String description, Long aclId) | public void | remove(long id) | public void | removeItems(long id, long[] objectIds) | public void | setItems(long id, long[] objectIds) | public void | updateItems(long id, long[] addObjectIds, long[] removeObjectIds) |
ctx | javax.ejb.SessionContext ctx(Code) | | |
getSqlAccessFilter | public static String getSqlAccessFilter(String briefcaseTblAlias, boolean includeShared, ACL.Permission... perms)(Code) | | Builds a sql filer that only selects briefcases that the calling user has permissions on.
Parameters: briefcaseTblAlias - the alias of the briefcase table, or null Parameters: includeShared - true if shared briefcases should be included Parameters: perms - the permissions that are needed a sql filter, eg '([briefcaseTblAlias.]CREATED_BY=12 OR ACL IS NOT NULL)' |
|
|