Class UserSearchFixture
java.lang.Object
com.liferay.users.admin.test.util.search.UserSearchFixture
-
Constructor Summary
ConstructorsConstructorDescriptionUserSearchFixture(com.liferay.portal.kernel.service.UserLocalService userLocalService, GroupSearchFixture groupSearchFixture, OrganizationSearchFixture organizationSearchFixture, UserGroupSearchFixture userGroupSearchFixture) -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.AddressaddAddress(com.liferay.portal.kernel.model.User user) com.liferay.portal.kernel.model.GroupaddGroup()Deprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.model.GroupaddGroup(GroupBlueprint groupBlueprint) Deprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.model.OrganizationDeprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.model.OrganizationaddOrganization(OrganizationBlueprint organizationBlueprint) Deprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.model.UseraddUser(UserBlueprint.UserBlueprintBuilder userBlueprintBuilder) com.liferay.portal.kernel.model.Usercom.liferay.portal.kernel.model.UseraddUser(String screenName, String firstName, String lastName, Locale locale, com.liferay.portal.kernel.model.Group group, String... assetTagNames) com.liferay.portal.kernel.model.UserGroupDeprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.model.UseraddUserWithAddress(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) Deprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.model.UseraddUserWithJobTitle(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) Deprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.model.UseraddUserWithOrganization(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) Deprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.model.UseraddUserWithUserGroup(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) Deprecated.As of Athanasius (7.3.x)List<com.liferay.portal.kernel.model.Address>List<com.liferay.asset.kernel.model.AssetTag>List<com.liferay.portal.kernel.model.Group>Deprecated.As of Athanasius (7.3.x)List<com.liferay.portal.kernel.model.Organization>Deprecated.As of Athanasius (7.3.x)com.liferay.portal.kernel.search.SearchContextgetSearchContext(String keywords) protected static com.liferay.portal.kernel.service.ServiceContextgetServiceContext(com.liferay.portal.kernel.model.Group group) protected static longprotected static longprotected static longList<com.liferay.portal.kernel.model.UserGroup>Deprecated.As of Athanasius (7.3.x)List<com.liferay.portal.kernel.model.User>getUsers()voidsetUp()voidtearDown()toStringTags(String[] tags)
-
Constructor Details
-
UserSearchFixture
public UserSearchFixture() -
UserSearchFixture
public UserSearchFixture(com.liferay.portal.kernel.service.UserLocalService userLocalService, GroupSearchFixture groupSearchFixture, OrganizationSearchFixture organizationSearchFixture, UserGroupSearchFixture userGroupSearchFixture)
-
-
Method Details
-
addAddress
public com.liferay.portal.kernel.model.Address addAddress(com.liferay.portal.kernel.model.User user) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addGroup
Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
addGroup
@Deprecated public com.liferay.portal.kernel.model.Group addGroup(GroupBlueprint groupBlueprint) throws Exception Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
addOrganization
Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
addOrganization
@Deprecated public com.liferay.portal.kernel.model.Organization addOrganization(OrganizationBlueprint organizationBlueprint) throws Exception Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
addUser
public com.liferay.portal.kernel.model.User addUser(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) throws Exception - Throws:
Exception
-
addUser
public com.liferay.portal.kernel.model.User addUser(String screenName, String firstName, String lastName, Locale locale, com.liferay.portal.kernel.model.Group group, String... assetTagNames) throws Exception - Throws:
Exception
-
addUser
public com.liferay.portal.kernel.model.User addUser(UserBlueprint.UserBlueprintBuilder userBlueprintBuilder) -
addUserGroup
Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
addUserWithAddress
@Deprecated public com.liferay.portal.kernel.model.User addUserWithAddress(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) throws Exception Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
addUserWithJobTitle
@Deprecated public com.liferay.portal.kernel.model.User addUserWithJobTitle(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) throws Exception Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
addUserWithOrganization
@Deprecated public com.liferay.portal.kernel.model.User addUserWithOrganization(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) throws Exception Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
addUserWithUserGroup
@Deprecated public com.liferay.portal.kernel.model.User addUserWithUserGroup(String screenName, com.liferay.portal.kernel.model.Group group, String... assetTagNames) throws Exception Deprecated.As of Athanasius (7.3.x)- Throws:
Exception
-
getAddresses
-
getAssetTags
-
getGroups
Deprecated.As of Athanasius (7.3.x) -
getOrganizations
Deprecated.As of Athanasius (7.3.x) -
getSearchContext
public com.liferay.portal.kernel.search.SearchContext getSearchContext(String keywords) throws Exception - Throws:
Exception
-
getTestUserBlueprintBuilder
-
getUserGroups
Deprecated.As of Athanasius (7.3.x) -
getUsers
-
setUp
- Throws:
Exception
-
tearDown
public void tearDown() -
toMap
-
toMap
-
toStringTags
-
getServiceContext
protected static com.liferay.portal.kernel.service.ServiceContext getServiceContext(com.liferay.portal.kernel.model.Group group) throws Exception - Throws:
Exception
-
getTestCompanyId
protected static long getTestCompanyId() -
getTestGroupId
protected static long getTestGroupId() -
getTestUserId
protected static long getTestUserId()
-