com.liferay.portlet.usersadmin.util
Class UsersAdminImpl
java.lang.Object
com.liferay.portlet.usersadmin.util.UsersAdminImpl
- All Implemented Interfaces:
- UsersAdmin
public class UsersAdminImpl
- extends Object
- implements UsersAdmin
Method Summary |
void |
addPortletBreadcrumbEntries(Organization organization,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
|
long[] |
addRequiredRoles(long userId,
long[] roleIds)
|
long[] |
addRequiredRoles(User user,
long[] roleIds)
|
List<Role> |
filterGroupRoles(PermissionChecker permissionChecker,
long groupId,
List<Role> roles)
|
List<Group> |
filterGroups(PermissionChecker permissionChecker,
List<Group> groups)
|
List<Organization> |
filterOrganizations(PermissionChecker permissionChecker,
List<Organization> organizations)
|
List<Role> |
filterRoles(PermissionChecker permissionChecker,
List<Role> roles)
|
List<UserGroupRole> |
filterUserGroupRoles(PermissionChecker permissionChecker,
List<UserGroupRole> userGroupRoles)
|
List<UserGroup> |
filterUserGroups(PermissionChecker permissionChecker,
List<UserGroup> userGroups)
|
List<Address> |
getAddresses(ActionRequest actionRequest)
|
List<Address> |
getAddresses(ActionRequest actionRequest,
List<Address> defaultAddresses)
|
List<EmailAddress> |
getEmailAddresses(ActionRequest actionRequest)
|
List<EmailAddress> |
getEmailAddresses(ActionRequest actionRequest,
List<EmailAddress> defaultEmailAddresses)
|
OrderByComparator |
getGroupOrderByComparator(String orderByCol,
String orderByType)
|
Long[] |
getOrganizationIds(List<Organization> organizations)
|
OrderByComparator |
getOrganizationOrderByComparator(String orderByCol,
String orderByType)
|
Tuple |
getOrganizations(Hits hits)
|
List<OrgLabor> |
getOrgLabors(ActionRequest actionRequest)
|
List<Phone> |
getPhones(ActionRequest actionRequest)
|
List<Phone> |
getPhones(ActionRequest actionRequest,
List<Phone> defaultPhones)
|
OrderByComparator |
getRoleOrderByComparator(String orderByCol,
String orderByType)
|
OrderByComparator |
getUserGroupOrderByComparator(String orderByCol,
String orderByType)
|
List<UserGroupRole> |
getUserGroupRoles(PortletRequest portletRequest)
|
OrderByComparator |
getUserOrderByComparator(String orderByCol,
String orderByType)
|
Tuple |
getUsers(Hits hits)
|
List<Website> |
getWebsites(ActionRequest actionRequest)
|
List<Website> |
getWebsites(ActionRequest actionRequest,
List<Website> defaultWebsites)
|
boolean |
hasUpdateEmailAddress(PermissionChecker permissionChecker,
User user)
|
boolean |
hasUpdateScreenName(PermissionChecker permissionChecker,
User user)
|
long[] |
removeRequiredRoles(long userId,
long[] roleIds)
|
long[] |
removeRequiredRoles(User user,
long[] roleIds)
|
void |
updateAddresses(String className,
long classPK,
List<Address> addresses)
|
void |
updateEmailAddresses(String className,
long classPK,
List<EmailAddress> emailAddresses)
|
void |
updateOrgLabors(long classPK,
List<OrgLabor> orgLabors)
|
void |
updatePhones(String className,
long classPK,
List<Phone> phones)
|
void |
updateWebsites(String className,
long classPK,
List<Website> websites)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsersAdminImpl
public UsersAdminImpl()
addPortletBreadcrumbEntries
public void addPortletBreadcrumbEntries(Organization organization,
javax.servlet.http.HttpServletRequest request,
RenderResponse renderResponse)
throws Exception
- Specified by:
addPortletBreadcrumbEntries
in interface UsersAdmin
- Throws:
Exception
addRequiredRoles
public long[] addRequiredRoles(long userId,
long[] roleIds)
throws PortalException,
SystemException
- Specified by:
addRequiredRoles
in interface UsersAdmin
- Throws:
PortalException
SystemException
addRequiredRoles
public long[] addRequiredRoles(User user,
long[] roleIds)
throws PortalException,
SystemException
- Specified by:
addRequiredRoles
in interface UsersAdmin
- Throws:
PortalException
SystemException
filterGroupRoles
public List<Role> filterGroupRoles(PermissionChecker permissionChecker,
long groupId,
List<Role> roles)
throws PortalException,
SystemException
- Specified by:
filterGroupRoles
in interface UsersAdmin
- Throws:
PortalException
SystemException
filterGroups
public List<Group> filterGroups(PermissionChecker permissionChecker,
List<Group> groups)
throws PortalException,
SystemException
- Specified by:
filterGroups
in interface UsersAdmin
- Throws:
PortalException
SystemException
filterOrganizations
public List<Organization> filterOrganizations(PermissionChecker permissionChecker,
List<Organization> organizations)
throws PortalException,
SystemException
- Specified by:
filterOrganizations
in interface UsersAdmin
- Throws:
PortalException
SystemException
filterRoles
public List<Role> filterRoles(PermissionChecker permissionChecker,
List<Role> roles)
- Specified by:
filterRoles
in interface UsersAdmin
filterUserGroupRoles
public List<UserGroupRole> filterUserGroupRoles(PermissionChecker permissionChecker,
List<UserGroupRole> userGroupRoles)
throws PortalException,
SystemException
- Specified by:
filterUserGroupRoles
in interface UsersAdmin
- Throws:
PortalException
SystemException
filterUserGroups
public List<UserGroup> filterUserGroups(PermissionChecker permissionChecker,
List<UserGroup> userGroups)
- Specified by:
filterUserGroups
in interface UsersAdmin
getAddresses
public List<Address> getAddresses(ActionRequest actionRequest)
- Specified by:
getAddresses
in interface UsersAdmin
getAddresses
public List<Address> getAddresses(ActionRequest actionRequest,
List<Address> defaultAddresses)
- Specified by:
getAddresses
in interface UsersAdmin
getEmailAddresses
public List<EmailAddress> getEmailAddresses(ActionRequest actionRequest)
- Specified by:
getEmailAddresses
in interface UsersAdmin
getEmailAddresses
public List<EmailAddress> getEmailAddresses(ActionRequest actionRequest,
List<EmailAddress> defaultEmailAddresses)
- Specified by:
getEmailAddresses
in interface UsersAdmin
getGroupOrderByComparator
public OrderByComparator getGroupOrderByComparator(String orderByCol,
String orderByType)
- Specified by:
getGroupOrderByComparator
in interface UsersAdmin
getOrganizationIds
public Long[] getOrganizationIds(List<Organization> organizations)
- Specified by:
getOrganizationIds
in interface UsersAdmin
getOrganizationOrderByComparator
public OrderByComparator getOrganizationOrderByComparator(String orderByCol,
String orderByType)
- Specified by:
getOrganizationOrderByComparator
in interface UsersAdmin
getOrganizations
public Tuple getOrganizations(Hits hits)
throws PortalException,
SystemException
- Specified by:
getOrganizations
in interface UsersAdmin
- Throws:
PortalException
SystemException
getOrgLabors
public List<OrgLabor> getOrgLabors(ActionRequest actionRequest)
- Specified by:
getOrgLabors
in interface UsersAdmin
getPhones
public List<Phone> getPhones(ActionRequest actionRequest)
- Specified by:
getPhones
in interface UsersAdmin
getPhones
public List<Phone> getPhones(ActionRequest actionRequest,
List<Phone> defaultPhones)
- Specified by:
getPhones
in interface UsersAdmin
getRoleOrderByComparator
public OrderByComparator getRoleOrderByComparator(String orderByCol,
String orderByType)
- Specified by:
getRoleOrderByComparator
in interface UsersAdmin
getUserGroupOrderByComparator
public OrderByComparator getUserGroupOrderByComparator(String orderByCol,
String orderByType)
- Specified by:
getUserGroupOrderByComparator
in interface UsersAdmin
getUserGroupRoles
public List<UserGroupRole> getUserGroupRoles(PortletRequest portletRequest)
throws PortalException,
SystemException
- Specified by:
getUserGroupRoles
in interface UsersAdmin
- Throws:
PortalException
SystemException
getUserOrderByComparator
public OrderByComparator getUserOrderByComparator(String orderByCol,
String orderByType)
- Specified by:
getUserOrderByComparator
in interface UsersAdmin
getUsers
public Tuple getUsers(Hits hits)
throws PortalException,
SystemException
- Specified by:
getUsers
in interface UsersAdmin
- Throws:
PortalException
SystemException
getWebsites
public List<Website> getWebsites(ActionRequest actionRequest)
- Specified by:
getWebsites
in interface UsersAdmin
getWebsites
public List<Website> getWebsites(ActionRequest actionRequest,
List<Website> defaultWebsites)
- Specified by:
getWebsites
in interface UsersAdmin
hasUpdateEmailAddress
public boolean hasUpdateEmailAddress(PermissionChecker permissionChecker,
User user)
throws PortalException,
SystemException
- Specified by:
hasUpdateEmailAddress
in interface UsersAdmin
- Throws:
PortalException
SystemException
hasUpdateScreenName
public boolean hasUpdateScreenName(PermissionChecker permissionChecker,
User user)
throws PortalException,
SystemException
- Specified by:
hasUpdateScreenName
in interface UsersAdmin
- Throws:
PortalException
SystemException
removeRequiredRoles
public long[] removeRequiredRoles(long userId,
long[] roleIds)
throws PortalException,
SystemException
- Specified by:
removeRequiredRoles
in interface UsersAdmin
- Throws:
PortalException
SystemException
removeRequiredRoles
public long[] removeRequiredRoles(User user,
long[] roleIds)
throws PortalException,
SystemException
- Specified by:
removeRequiredRoles
in interface UsersAdmin
- Throws:
PortalException
SystemException
updateAddresses
public void updateAddresses(String className,
long classPK,
List<Address> addresses)
throws PortalException,
SystemException
- Specified by:
updateAddresses
in interface UsersAdmin
- Throws:
PortalException
SystemException
updateEmailAddresses
public void updateEmailAddresses(String className,
long classPK,
List<EmailAddress> emailAddresses)
throws PortalException,
SystemException
- Specified by:
updateEmailAddresses
in interface UsersAdmin
- Throws:
PortalException
SystemException
updateOrgLabors
public void updateOrgLabors(long classPK,
List<OrgLabor> orgLabors)
throws PortalException,
SystemException
- Specified by:
updateOrgLabors
in interface UsersAdmin
- Throws:
PortalException
SystemException
updatePhones
public void updatePhones(String className,
long classPK,
List<Phone> phones)
throws PortalException,
SystemException
- Specified by:
updatePhones
in interface UsersAdmin
- Throws:
PortalException
SystemException
updateWebsites
public void updateWebsites(String className,
long classPK,
List<Website> websites)
throws PortalException,
SystemException
- Specified by:
updateWebsites
in interface UsersAdmin
- Throws:
PortalException
SystemException