|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.workgroup.AdminWorkgroupHome
public final class AdminWorkgroupHome
This class provides instances management methods (create, find, ...) for AdminWorkgroup objects
| Method Summary | |
|---|---|
static boolean |
checkExistWorkgroup(java.lang.String strWorkgroupKey)
Check that the given key points to an existing workgroup |
static AdminWorkgroup |
create(AdminWorkgroup workgroup)
Creation of an instance of workgroup |
static java.util.Collection<AdminWorkgroup> |
findAll()
Returns a collection of workgroups objects |
static AdminWorkgroup |
findByPrimaryKey(java.lang.String strWorkgroupKey)
Returns an instance of a workgroup whose identifier is specified in parameter |
static ReferenceList |
getUserWorkgroups(AdminUser user)
Returns the list of all workgroups the user is member |
static boolean |
isUserInWorkgroup(AdminUser user,
java.lang.String strWorkgroup)
Is the user member of the workgroup |
static void |
remove(java.lang.String strWorkgroupKey)
Remove the AdminWorkgroup whose identifier is specified in parameter |
static AdminWorkgroup |
update(java.lang.String strWorkgroupKey,
AdminWorkgroup workgroup)
Update of the workgroup which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AdminWorkgroup create(AdminWorkgroup workgroup)
workgroup - The instance of the workgroup which contains the informations to store
public static AdminWorkgroup update(java.lang.String strWorkgroupKey,
AdminWorkgroup workgroup)
strWorkgroupKey - the key of the workgroup to updateworkgroup - The instance of the workgroup which contains the new data to store
public static void remove(java.lang.String strWorkgroupKey)
strWorkgroupKey - The AdminWorkgroup object to removepublic static AdminWorkgroup findByPrimaryKey(java.lang.String strWorkgroupKey)
strWorkgroupKey - The Primary key of the workgroup
public static java.util.Collection<AdminWorkgroup> findAll()
plugin - The current plugin using this method
public static boolean checkExistWorkgroup(java.lang.String strWorkgroupKey)
strNewWorkgroupKey -
public static boolean isUserInWorkgroup(AdminUser user,
java.lang.String strWorkgroup)
user - The userstrWorkgroup - The workgroup keypublic static ReferenceList getUserWorkgroups(AdminUser user)
user - The user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||