|
Liferay 7.0-ce-a3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portal.service.base.OrganizationLocalServiceBaseImpl
@ProviderType public abstract class OrganizationLocalServiceBaseImpl
Provides the base implementation for the organization local service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in OrganizationLocalServiceImpl.
OrganizationLocalServiceImpl,
OrganizationLocalServiceUtil| Constructor Summary | |
|---|---|
OrganizationLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
void |
addGroupOrganization(long groupId,
long organizationId)
|
|
void |
addGroupOrganization(long groupId,
Organization organization)
|
|
void |
addGroupOrganizations(long groupId,
List<Organization> Organizations)
|
|
void |
addGroupOrganizations(long groupId,
long[] organizationIds)
|
|
Organization |
addOrganization(Organization organization)
Adds the organization to the database. |
|
void |
addUserOrganization(long userId,
long organizationId)
|
|
void |
addUserOrganization(long userId,
Organization organization)
|
|
void |
addUserOrganizations(long userId,
List<Organization> Organizations)
|
|
void |
addUserOrganizations(long userId,
long[] organizationIds)
|
|
void |
afterPropertiesSet()
|
|
void |
clearGroupOrganizations(long groupId)
|
|
void |
clearUserOrganizations(long userId)
|
|
Organization |
createOrganization(long organizationId)
Creates a new organization with the primary key. |
|
void |
deleteGroupOrganization(long groupId,
long organizationId)
|
|
void |
deleteGroupOrganization(long groupId,
Organization organization)
|
|
void |
deleteGroupOrganizations(long groupId,
List<Organization> Organizations)
|
|
void |
deleteGroupOrganizations(long groupId,
long[] organizationIds)
|
|
Organization |
deleteOrganization(long organizationId)
Deletes the organization with the primary key from the database. |
|
Organization |
deleteOrganization(Organization organization)
Deletes the organization from the database. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
void |
deleteUserOrganization(long userId,
long organizationId)
|
|
void |
deleteUserOrganization(long userId,
Organization organization)
|
|
void |
deleteUserOrganizations(long userId,
List<Organization> Organizations)
|
|
void |
deleteUserOrganizations(long userId,
long[] organizationIds)
|
|
void |
destroy()
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
Organization |
fetchOrganization(long organizationId)
|
|
Organization |
fetchOrganizationByUuidAndCompanyId(String uuid,
long companyId)
Returns the organization with the matching UUID and company. |
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
AddressLocalService |
getAddressLocalService()
Returns the address local service. |
|
AddressPersistence |
getAddressPersistence()
Returns the address persistence. |
|
AddressService |
getAddressService()
Returns the address remote service. |
|
AssetCategoryFinder |
getAssetCategoryFinder()
Returns the asset category finder. |
|
AssetCategoryLocalService |
getAssetCategoryLocalService()
Returns the asset category local service. |
|
AssetCategoryPersistence |
getAssetCategoryPersistence()
Returns the asset category persistence. |
|
AssetCategoryService |
getAssetCategoryService()
Returns the asset category remote service. |
|
AssetEntryFinder |
getAssetEntryFinder()
Returns the asset entry finder. |
|
AssetEntryLocalService |
getAssetEntryLocalService()
Returns the asset entry local service. |
|
AssetEntryPersistence |
getAssetEntryPersistence()
Returns the asset entry persistence. |
|
AssetEntryService |
getAssetEntryService()
Returns the asset entry remote service. |
|
AssetTagFinder |
getAssetTagFinder()
Returns the asset tag finder. |
|
AssetTagLocalService |
getAssetTagLocalService()
Returns the asset tag local service. |
|
AssetTagPersistence |
getAssetTagPersistence()
Returns the asset tag persistence. |
|
AssetTagService |
getAssetTagService()
Returns the asset tag remote service. |
|
CompanyLocalService |
getCompanyLocalService()
Returns the company local service. |
|
CompanyPersistence |
getCompanyPersistence()
Returns the company persistence. |
|
CompanyService |
getCompanyService()
Returns the company remote service. |
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
CountryPersistence |
getCountryPersistence()
Returns the country persistence. |
|
CountryService |
getCountryService()
Returns the country remote service. |
|
EmailAddressLocalService |
getEmailAddressLocalService()
Returns the email address local service. |
|
EmailAddressPersistence |
getEmailAddressPersistence()
Returns the email address persistence. |
|
EmailAddressService |
getEmailAddressService()
Returns the email address remote service. |
|
ExpandoRowLocalService |
getExpandoRowLocalService()
Returns the expando row local service. |
|
ExpandoRowPersistence |
getExpandoRowPersistence()
Returns the expando row persistence. |
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext)
|
|
GroupFinder |
getGroupFinder()
Returns the group finder. |
|
GroupLocalService |
getGroupLocalService()
Returns the group local service. |
|
List<Organization> |
getGroupOrganizations(long groupId)
|
|
List<Organization> |
getGroupOrganizations(long groupId,
int start,
int end)
|
|
List<Organization> |
getGroupOrganizations(long groupId,
int start,
int end,
OrderByComparator<Organization> orderByComparator)
|
|
int |
getGroupOrganizationsCount(long groupId)
|
|
GroupPersistence |
getGroupPersistence()
Returns the group persistence. |
|
long[] |
getGroupPrimaryKeys(long organizationId)
Returns the groupIds of the groups associated with the organization. |
|
GroupService |
getGroupService()
Returns the group remote service. |
|
ListTypeLocalService |
getListTypeLocalService()
Returns the list type local service. |
|
ListTypePersistence |
getListTypePersistence()
Returns the list type persistence. |
|
ListTypeService |
getListTypeService()
Returns the list type remote service. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
Organization |
getOrganization(long organizationId)
Returns the organization with the primary key. |
|
Organization |
getOrganizationByUuidAndCompanyId(String uuid,
long companyId)
Returns the organization with the matching UUID and company. |
|
OrganizationFinder |
getOrganizationFinder()
Returns the organization finder. |
|
OrganizationLocalService |
getOrganizationLocalService()
Returns the organization local service. |
|
OrganizationPersistence |
getOrganizationPersistence()
Returns the organization persistence. |
|
List<Organization> |
getOrganizations(int start,
int end)
Returns a range of all the organizations. |
|
int |
getOrganizationsCount()
Returns the number of organizations. |
|
OrganizationService |
getOrganizationService()
Returns the organization remote service. |
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PasswordPolicyFinder |
getPasswordPolicyFinder()
Returns the password policy finder. |
|
PasswordPolicyLocalService |
getPasswordPolicyLocalService()
Returns the password policy local service. |
|
PasswordPolicyPersistence |
getPasswordPolicyPersistence()
Returns the password policy persistence. |
|
PasswordPolicyRelLocalService |
getPasswordPolicyRelLocalService()
Returns the password policy rel local service. |
|
PasswordPolicyRelPersistence |
getPasswordPolicyRelPersistence()
Returns the password policy rel persistence. |
|
PasswordPolicyService |
getPasswordPolicyService()
Returns the password policy remote service. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
PhoneLocalService |
getPhoneLocalService()
Returns the phone local service. |
|
PhonePersistence |
getPhonePersistence()
Returns the phone persistence. |
|
PhoneService |
getPhoneService()
Returns the phone remote service. |
|
RegionPersistence |
getRegionPersistence()
Returns the region persistence. |
|
RegionService |
getRegionService()
Returns the region remote service. |
|
ResourceLocalService |
getResourceLocalService()
Returns the resource local service. |
|
RoleFinder |
getRoleFinder()
Returns the role finder. |
|
RoleLocalService |
getRoleLocalService()
Returns the role local service. |
|
RolePersistence |
getRolePersistence()
Returns the role persistence. |
|
RoleService |
getRoleService()
Returns the role remote service. |
|
UserFinder |
getUserFinder()
Returns the user finder. |
|
UserGroupRoleFinder |
getUserGroupRoleFinder()
Returns the user group role finder. |
|
UserGroupRoleLocalService |
getUserGroupRoleLocalService()
Returns the user group role local service. |
|
UserGroupRolePersistence |
getUserGroupRolePersistence()
Returns the user group role persistence. |
|
UserGroupRoleService |
getUserGroupRoleService()
Returns the user group role remote service. |
|
UserLocalService |
getUserLocalService()
Returns the user local service. |
|
List<Organization> |
getUserOrganizations(long userId)
|
|
List<Organization> |
getUserOrganizations(long userId,
int start,
int end)
|
|
List<Organization> |
getUserOrganizations(long userId,
int start,
int end,
OrderByComparator<Organization> orderByComparator)
|
|
int |
getUserOrganizationsCount(long userId)
|
|
UserPersistence |
getUserPersistence()
Returns the user persistence. |
|
long[] |
getUserPrimaryKeys(long organizationId)
Returns the userIds of the users associated with the organization. |
|
UserService |
getUserService()
Returns the user remote service. |
|
WebsiteLocalService |
getWebsiteLocalService()
Returns the website local service. |
|
WebsitePersistence |
getWebsitePersistence()
Returns the website persistence. |
|
WebsiteService |
getWebsiteService()
Returns the website remote service. |
|
boolean |
hasGroupOrganization(long groupId,
long organizationId)
|
|
boolean |
hasGroupOrganizations(long groupId)
|
|
boolean |
hasUserOrganization(long userId,
long organizationId)
|
|
boolean |
hasUserOrganizations(long userId)
|
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a SQL query. |
|
void |
setAddressLocalService(AddressLocalService addressLocalService)
Sets the address local service. |
|
void |
setAddressPersistence(AddressPersistence addressPersistence)
Sets the address persistence. |
|
void |
setAddressService(AddressService addressService)
Sets the address remote service. |
|
void |
setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder)
Sets the asset category finder. |
|
void |
setAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
Sets the asset category local service. |
|
void |
setAssetCategoryPersistence(AssetCategoryPersistence assetCategoryPersistence)
Sets the asset category persistence. |
|
void |
setAssetCategoryService(AssetCategoryService assetCategoryService)
Sets the asset category remote service. |
|
void |
setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder. |
|
void |
setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service. |
|
void |
setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence. |
|
void |
setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service. |
|
void |
setAssetTagFinder(AssetTagFinder assetTagFinder)
Sets the asset tag finder. |
|
void |
setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
Sets the asset tag local service. |
|
void |
setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
Sets the asset tag persistence. |
|
void |
setAssetTagService(AssetTagService assetTagService)
Sets the asset tag remote service. |
|
void |
setCompanyLocalService(CompanyLocalService companyLocalService)
Sets the company local service. |
|
void |
setCompanyPersistence(CompanyPersistence companyPersistence)
Sets the company persistence. |
|
void |
setCompanyService(CompanyService companyService)
Sets the company remote service. |
|
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setCountryPersistence(CountryPersistence countryPersistence)
Sets the country persistence. |
|
void |
setCountryService(CountryService countryService)
Sets the country remote service. |
|
void |
setEmailAddressLocalService(EmailAddressLocalService emailAddressLocalService)
Sets the email address local service. |
|
void |
setEmailAddressPersistence(EmailAddressPersistence emailAddressPersistence)
Sets the email address persistence. |
|
void |
setEmailAddressService(EmailAddressService emailAddressService)
Sets the email address remote service. |
|
void |
setExpandoRowLocalService(ExpandoRowLocalService expandoRowLocalService)
Sets the expando row local service. |
|
void |
setExpandoRowPersistence(ExpandoRowPersistence expandoRowPersistence)
Sets the expando row persistence. |
|
void |
setGroupFinder(GroupFinder groupFinder)
Sets the group finder. |
|
void |
setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service. |
|
void |
setGroupOrganizations(long groupId,
long[] organizationIds)
|
|
void |
setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence. |
|
void |
setGroupService(GroupService groupService)
Sets the group remote service. |
|
void |
setListTypeLocalService(ListTypeLocalService listTypeLocalService)
Sets the list type local service. |
|
void |
setListTypePersistence(ListTypePersistence listTypePersistence)
Sets the list type persistence. |
|
void |
setListTypeService(ListTypeService listTypeService)
Sets the list type remote service. |
|
void |
setOrganizationFinder(OrganizationFinder organizationFinder)
Sets the organization finder. |
|
void |
setOrganizationLocalService(OrganizationLocalService organizationLocalService)
Sets the organization local service. |
|
void |
setOrganizationPersistence(OrganizationPersistence organizationPersistence)
Sets the organization persistence. |
|
void |
setOrganizationService(OrganizationService organizationService)
Sets the organization remote service. |
|
void |
setPasswordPolicyFinder(PasswordPolicyFinder passwordPolicyFinder)
Sets the password policy finder. |
|
void |
setPasswordPolicyLocalService(PasswordPolicyLocalService passwordPolicyLocalService)
Sets the password policy local service. |
|
void |
setPasswordPolicyPersistence(PasswordPolicyPersistence passwordPolicyPersistence)
Sets the password policy persistence. |
|
void |
setPasswordPolicyRelLocalService(PasswordPolicyRelLocalService passwordPolicyRelLocalService)
Sets the password policy rel local service. |
|
void |
setPasswordPolicyRelPersistence(PasswordPolicyRelPersistence passwordPolicyRelPersistence)
Sets the password policy rel persistence. |
|
void |
setPasswordPolicyService(PasswordPolicyService passwordPolicyService)
Sets the password policy remote service. |
|
void |
setPhoneLocalService(PhoneLocalService phoneLocalService)
Sets the phone local service. |
|
void |
setPhonePersistence(PhonePersistence phonePersistence)
Sets the phone persistence. |
|
void |
setPhoneService(PhoneService phoneService)
Sets the phone remote service. |
|
void |
setRegionPersistence(RegionPersistence regionPersistence)
Sets the region persistence. |
|
void |
setRegionService(RegionService regionService)
Sets the region remote service. |
|
void |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service. |
|
void |
setRoleFinder(RoleFinder roleFinder)
Sets the role finder. |
|
void |
setRoleLocalService(RoleLocalService roleLocalService)
Sets the role local service. |
|
void |
setRolePersistence(RolePersistence rolePersistence)
Sets the role persistence. |
|
void |
setRoleService(RoleService roleService)
Sets the role remote service. |
|
void |
setUserFinder(UserFinder userFinder)
Sets the user finder. |
|
void |
setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder)
Sets the user group role finder. |
|
void |
setUserGroupRoleLocalService(UserGroupRoleLocalService userGroupRoleLocalService)
Sets the user group role local service. |
|
void |
setUserGroupRolePersistence(UserGroupRolePersistence userGroupRolePersistence)
Sets the user group role persistence. |
|
void |
setUserGroupRoleService(UserGroupRoleService userGroupRoleService)
Sets the user group role remote service. |
|
void |
setUserLocalService(UserLocalService userLocalService)
Sets the user local service. |
|
void |
setUserOrganizations(long userId,
long[] organizationIds)
|
|
void |
setUserPersistence(UserPersistence userPersistence)
Sets the user persistence. |
|
void |
setUserService(UserService userService)
Sets the user remote service. |
|
void |
setWebsiteLocalService(WebsiteLocalService websiteLocalService)
Sets the website local service. |
|
void |
setWebsitePersistence(WebsitePersistence websitePersistence)
Sets the website persistence. |
|
void |
setWebsiteService(WebsiteService websiteService)
Sets the website remote service. |
|
Organization |
updateOrganization(Organization organization)
Updates the organization in the database or adds it if it does not yet exist. |
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@BeanReference(type=OrganizationLocalService.class) protected OrganizationLocalService organizationLocalService
@BeanReference(type=OrganizationService.class) protected OrganizationService organizationService
@BeanReference(type=OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence
@BeanReference(type=OrganizationFinder.class) protected OrganizationFinder organizationFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=AddressLocalService.class) protected AddressLocalService addressLocalService
@BeanReference(type=AddressService.class) protected AddressService addressService
@BeanReference(type=AddressPersistence.class) protected AddressPersistence addressPersistence
@BeanReference(type=CompanyLocalService.class) protected CompanyLocalService companyLocalService
@BeanReference(type=CompanyService.class) protected CompanyService companyService
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=CountryService.class) protected CountryService countryService
@BeanReference(type=CountryPersistence.class) protected CountryPersistence countryPersistence
@BeanReference(type=EmailAddressLocalService.class) protected EmailAddressLocalService emailAddressLocalService
@BeanReference(type=EmailAddressService.class) protected EmailAddressService emailAddressService
@BeanReference(type=EmailAddressPersistence.class) protected EmailAddressPersistence emailAddressPersistence
@BeanReference(type=GroupLocalService.class) protected GroupLocalService groupLocalService
@BeanReference(type=GroupService.class) protected GroupService groupService
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=GroupFinder.class) protected GroupFinder groupFinder
@BeanReference(type=ListTypeLocalService.class) protected ListTypeLocalService listTypeLocalService
@BeanReference(type=ListTypeService.class) protected ListTypeService listTypeService
@BeanReference(type=ListTypePersistence.class) protected ListTypePersistence listTypePersistence
@BeanReference(type=AssetCategoryLocalService.class) protected AssetCategoryLocalService assetCategoryLocalService
@BeanReference(type=AssetCategoryService.class) protected AssetCategoryService assetCategoryService
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetCategoryFinder.class) protected AssetCategoryFinder assetCategoryFinder
@BeanReference(type=AssetEntryLocalService.class) protected AssetEntryLocalService assetEntryLocalService
@BeanReference(type=AssetEntryService.class) protected AssetEntryService assetEntryService
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetEntryFinder.class) protected AssetEntryFinder assetEntryFinder
@BeanReference(type=AssetTagLocalService.class) protected AssetTagLocalService assetTagLocalService
@BeanReference(type=AssetTagService.class) protected AssetTagService assetTagService
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagFinder.class) protected AssetTagFinder assetTagFinder
@BeanReference(type=ExpandoRowLocalService.class) protected ExpandoRowLocalService expandoRowLocalService
@BeanReference(type=ExpandoRowPersistence.class) protected ExpandoRowPersistence expandoRowPersistence
@BeanReference(type=PasswordPolicyLocalService.class) protected PasswordPolicyLocalService passwordPolicyLocalService
@BeanReference(type=PasswordPolicyService.class) protected PasswordPolicyService passwordPolicyService
@BeanReference(type=PasswordPolicyPersistence.class) protected PasswordPolicyPersistence passwordPolicyPersistence
@BeanReference(type=PasswordPolicyFinder.class) protected PasswordPolicyFinder passwordPolicyFinder
@BeanReference(type=PasswordPolicyRelLocalService.class) protected PasswordPolicyRelLocalService passwordPolicyRelLocalService
@BeanReference(type=PasswordPolicyRelPersistence.class) protected PasswordPolicyRelPersistence passwordPolicyRelPersistence
@BeanReference(type=PhoneLocalService.class) protected PhoneLocalService phoneLocalService
@BeanReference(type=PhoneService.class) protected PhoneService phoneService
@BeanReference(type=PhonePersistence.class) protected PhonePersistence phonePersistence
@BeanReference(type=RegionService.class) protected RegionService regionService
@BeanReference(type=RegionPersistence.class) protected RegionPersistence regionPersistence
@BeanReference(type=ResourceLocalService.class) protected ResourceLocalService resourceLocalService
@BeanReference(type=RoleLocalService.class) protected RoleLocalService roleLocalService
@BeanReference(type=RoleService.class) protected RoleService roleService
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
@BeanReference(type=RoleFinder.class) protected RoleFinder roleFinder
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserService.class) protected UserService userService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
@BeanReference(type=UserGroupRoleLocalService.class) protected UserGroupRoleLocalService userGroupRoleLocalService
@BeanReference(type=UserGroupRoleService.class) protected UserGroupRoleService userGroupRoleService
@BeanReference(type=UserGroupRolePersistence.class) protected UserGroupRolePersistence userGroupRolePersistence
@BeanReference(type=UserGroupRoleFinder.class) protected UserGroupRoleFinder userGroupRoleFinder
@BeanReference(type=WebsiteLocalService.class) protected WebsiteLocalService websiteLocalService
@BeanReference(type=WebsiteService.class) protected WebsiteService websiteService
@BeanReference(type=WebsitePersistence.class) protected WebsitePersistence websitePersistence
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public OrganizationLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public Organization addOrganization(Organization organization)
addOrganization in interface OrganizationLocalServiceorganization - the organization
public Organization createOrganization(long organizationId)
createOrganization in interface OrganizationLocalServiceorganizationId - the primary key for the new organization
@Indexable(type=DELETE)
public Organization deleteOrganization(long organizationId)
throws PortalException
deleteOrganization in interface OrganizationLocalServiceorganizationId - the primary key of the organization
PortalException - if a organization with the primary key could not be found
@Indexable(type=DELETE)
public Organization deleteOrganization(Organization organization)
throws PortalException
deleteOrganization in interface OrganizationLocalServiceorganization - the organization
PortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface OrganizationLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface OrganizationLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from OrganizationModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface OrganizationLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from OrganizationModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface OrganizationLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface OrganizationLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface OrganizationLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public Organization fetchOrganization(long organizationId)
fetchOrganization in interface OrganizationLocalService
public Organization fetchOrganizationByUuidAndCompanyId(String uuid,
long companyId)
fetchOrganizationByUuidAndCompanyId in interface OrganizationLocalServiceuuid - the organization's UUIDcompanyId - the primary key of the company
null if a matching organization could not be found
public Organization getOrganization(long organizationId)
throws PortalException
getOrganization in interface OrganizationLocalServiceorganizationId - the primary key of the organization
PortalException - if a organization with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface OrganizationLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface OrganizationLocalService
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface OrganizationLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface OrganizationLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalException
public Organization getOrganizationByUuidAndCompanyId(String uuid,
long companyId)
throws PortalException
getOrganizationByUuidAndCompanyId in interface OrganizationLocalServiceuuid - the organization's UUIDcompanyId - the primary key of the company
PortalException - if a matching organization could not be found
public List<Organization> getOrganizations(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from OrganizationModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getOrganizations in interface OrganizationLocalServicestart - the lower bound of the range of organizationsend - the upper bound of the range of organizations (not inclusive)
public int getOrganizationsCount()
getOrganizationsCount in interface OrganizationLocalService@Indexable(type=REINDEX) public Organization updateOrganization(Organization organization)
updateOrganization in interface OrganizationLocalServiceorganization - the organization
public void addGroupOrganization(long groupId,
long organizationId)
addGroupOrganization in interface OrganizationLocalService
public void addGroupOrganization(long groupId,
Organization organization)
addGroupOrganization in interface OrganizationLocalService
public void addGroupOrganizations(long groupId,
long[] organizationIds)
addGroupOrganizations in interface OrganizationLocalService
public void addGroupOrganizations(long groupId,
List<Organization> Organizations)
addGroupOrganizations in interface OrganizationLocalServicepublic void clearGroupOrganizations(long groupId)
clearGroupOrganizations in interface OrganizationLocalService
public void deleteGroupOrganization(long groupId,
long organizationId)
deleteGroupOrganization in interface OrganizationLocalService
public void deleteGroupOrganization(long groupId,
Organization organization)
deleteGroupOrganization in interface OrganizationLocalService
public void deleteGroupOrganizations(long groupId,
long[] organizationIds)
deleteGroupOrganizations in interface OrganizationLocalService
public void deleteGroupOrganizations(long groupId,
List<Organization> Organizations)
deleteGroupOrganizations in interface OrganizationLocalServicepublic long[] getGroupPrimaryKeys(long organizationId)
getGroupPrimaryKeys in interface OrganizationLocalServiceorganizationId - the organizationId of the organization
public List<Organization> getGroupOrganizations(long groupId)
getGroupOrganizations in interface OrganizationLocalService
public List<Organization> getGroupOrganizations(long groupId,
int start,
int end)
getGroupOrganizations in interface OrganizationLocalService
public List<Organization> getGroupOrganizations(long groupId,
int start,
int end,
OrderByComparator<Organization> orderByComparator)
getGroupOrganizations in interface OrganizationLocalServicepublic int getGroupOrganizationsCount(long groupId)
getGroupOrganizationsCount in interface OrganizationLocalService
public boolean hasGroupOrganization(long groupId,
long organizationId)
hasGroupOrganization in interface OrganizationLocalServicepublic boolean hasGroupOrganizations(long groupId)
hasGroupOrganizations in interface OrganizationLocalService
public void setGroupOrganizations(long groupId,
long[] organizationIds)
setGroupOrganizations in interface OrganizationLocalService
public void addUserOrganization(long userId,
long organizationId)
addUserOrganization in interface OrganizationLocalService
public void addUserOrganization(long userId,
Organization organization)
addUserOrganization in interface OrganizationLocalService
public void addUserOrganizations(long userId,
long[] organizationIds)
addUserOrganizations in interface OrganizationLocalService
public void addUserOrganizations(long userId,
List<Organization> Organizations)
addUserOrganizations in interface OrganizationLocalServicepublic void clearUserOrganizations(long userId)
clearUserOrganizations in interface OrganizationLocalService
public void deleteUserOrganization(long userId,
long organizationId)
deleteUserOrganization in interface OrganizationLocalService
public void deleteUserOrganization(long userId,
Organization organization)
deleteUserOrganization in interface OrganizationLocalService
public void deleteUserOrganizations(long userId,
long[] organizationIds)
deleteUserOrganizations in interface OrganizationLocalService
public void deleteUserOrganizations(long userId,
List<Organization> Organizations)
deleteUserOrganizations in interface OrganizationLocalServicepublic long[] getUserPrimaryKeys(long organizationId)
getUserPrimaryKeys in interface OrganizationLocalServiceorganizationId - the organizationId of the organization
public List<Organization> getUserOrganizations(long userId)
getUserOrganizations in interface OrganizationLocalService
public List<Organization> getUserOrganizations(long userId,
int start,
int end)
getUserOrganizations in interface OrganizationLocalService
public List<Organization> getUserOrganizations(long userId,
int start,
int end,
OrderByComparator<Organization> orderByComparator)
getUserOrganizations in interface OrganizationLocalServicepublic int getUserOrganizationsCount(long userId)
getUserOrganizationsCount in interface OrganizationLocalService
public boolean hasUserOrganization(long userId,
long organizationId)
hasUserOrganization in interface OrganizationLocalServicepublic boolean hasUserOrganizations(long userId)
hasUserOrganizations in interface OrganizationLocalService
public void setUserOrganizations(long userId,
long[] organizationIds)
setUserOrganizations in interface OrganizationLocalServicepublic OrganizationLocalService getOrganizationLocalService()
public void setOrganizationLocalService(OrganizationLocalService organizationLocalService)
organizationLocalService - the organization local servicepublic OrganizationService getOrganizationService()
public void setOrganizationService(OrganizationService organizationService)
organizationService - the organization remote servicepublic OrganizationPersistence getOrganizationPersistence()
public void setOrganizationPersistence(OrganizationPersistence organizationPersistence)
organizationPersistence - the organization persistencepublic OrganizationFinder getOrganizationFinder()
public void setOrganizationFinder(OrganizationFinder organizationFinder)
organizationFinder - the organization finderpublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic AddressLocalService getAddressLocalService()
public void setAddressLocalService(AddressLocalService addressLocalService)
addressLocalService - the address local servicepublic AddressService getAddressService()
public void setAddressService(AddressService addressService)
addressService - the address remote servicepublic AddressPersistence getAddressPersistence()
public void setAddressPersistence(AddressPersistence addressPersistence)
addressPersistence - the address persistencepublic CompanyLocalService getCompanyLocalService()
public void setCompanyLocalService(CompanyLocalService companyLocalService)
companyLocalService - the company local servicepublic CompanyService getCompanyService()
public void setCompanyService(CompanyService companyService)
companyService - the company remote servicepublic CompanyPersistence getCompanyPersistence()
public void setCompanyPersistence(CompanyPersistence companyPersistence)
companyPersistence - the company persistencepublic CountryService getCountryService()
public void setCountryService(CountryService countryService)
countryService - the country remote servicepublic CountryPersistence getCountryPersistence()
public void setCountryPersistence(CountryPersistence countryPersistence)
countryPersistence - the country persistencepublic EmailAddressLocalService getEmailAddressLocalService()
public void setEmailAddressLocalService(EmailAddressLocalService emailAddressLocalService)
emailAddressLocalService - the email address local servicepublic EmailAddressService getEmailAddressService()
public void setEmailAddressService(EmailAddressService emailAddressService)
emailAddressService - the email address remote servicepublic EmailAddressPersistence getEmailAddressPersistence()
public void setEmailAddressPersistence(EmailAddressPersistence emailAddressPersistence)
emailAddressPersistence - the email address persistencepublic GroupLocalService getGroupLocalService()
public void setGroupLocalService(GroupLocalService groupLocalService)
groupLocalService - the group local servicepublic GroupService getGroupService()
public void setGroupService(GroupService groupService)
groupService - the group remote servicepublic GroupPersistence getGroupPersistence()
public void setGroupPersistence(GroupPersistence groupPersistence)
groupPersistence - the group persistencepublic GroupFinder getGroupFinder()
public void setGroupFinder(GroupFinder groupFinder)
groupFinder - the group finderpublic ListTypeLocalService getListTypeLocalService()
public void setListTypeLocalService(ListTypeLocalService listTypeLocalService)
listTypeLocalService - the list type local servicepublic ListTypeService getListTypeService()
public void setListTypeService(ListTypeService listTypeService)
listTypeService - the list type remote servicepublic ListTypePersistence getListTypePersistence()
public void setListTypePersistence(ListTypePersistence listTypePersistence)
listTypePersistence - the list type persistencepublic AssetCategoryLocalService getAssetCategoryLocalService()
public void setAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
assetCategoryLocalService - the asset category local servicepublic AssetCategoryService getAssetCategoryService()
public void setAssetCategoryService(AssetCategoryService assetCategoryService)
assetCategoryService - the asset category remote servicepublic AssetCategoryPersistence getAssetCategoryPersistence()
public void setAssetCategoryPersistence(AssetCategoryPersistence assetCategoryPersistence)
assetCategoryPersistence - the asset category persistencepublic AssetCategoryFinder getAssetCategoryFinder()
public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder)
assetCategoryFinder - the asset category finderpublic AssetEntryLocalService getAssetEntryLocalService()
public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
assetEntryLocalService - the asset entry local servicepublic AssetEntryService getAssetEntryService()
public void setAssetEntryService(AssetEntryService assetEntryService)
assetEntryService - the asset entry remote servicepublic AssetEntryPersistence getAssetEntryPersistence()
public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
assetEntryPersistence - the asset entry persistencepublic AssetEntryFinder getAssetEntryFinder()
public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
assetEntryFinder - the asset entry finderpublic AssetTagLocalService getAssetTagLocalService()
public void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
assetTagLocalService - the asset tag local servicepublic AssetTagService getAssetTagService()
public void setAssetTagService(AssetTagService assetTagService)
assetTagService - the asset tag remote servicepublic AssetTagPersistence getAssetTagPersistence()
public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
assetTagPersistence - the asset tag persistencepublic AssetTagFinder getAssetTagFinder()
public void setAssetTagFinder(AssetTagFinder assetTagFinder)
assetTagFinder - the asset tag finderpublic ExpandoRowLocalService getExpandoRowLocalService()
public void setExpandoRowLocalService(ExpandoRowLocalService expandoRowLocalService)
expandoRowLocalService - the expando row local servicepublic ExpandoRowPersistence getExpandoRowPersistence()
public void setExpandoRowPersistence(ExpandoRowPersistence expandoRowPersistence)
expandoRowPersistence - the expando row persistencepublic PasswordPolicyLocalService getPasswordPolicyLocalService()
public void setPasswordPolicyLocalService(PasswordPolicyLocalService passwordPolicyLocalService)
passwordPolicyLocalService - the password policy local servicepublic PasswordPolicyService getPasswordPolicyService()
public void setPasswordPolicyService(PasswordPolicyService passwordPolicyService)
passwordPolicyService - the password policy remote servicepublic PasswordPolicyPersistence getPasswordPolicyPersistence()
public void setPasswordPolicyPersistence(PasswordPolicyPersistence passwordPolicyPersistence)
passwordPolicyPersistence - the password policy persistencepublic PasswordPolicyFinder getPasswordPolicyFinder()
public void setPasswordPolicyFinder(PasswordPolicyFinder passwordPolicyFinder)
passwordPolicyFinder - the password policy finderpublic PasswordPolicyRelLocalService getPasswordPolicyRelLocalService()
public void setPasswordPolicyRelLocalService(PasswordPolicyRelLocalService passwordPolicyRelLocalService)
passwordPolicyRelLocalService - the password policy rel local servicepublic PasswordPolicyRelPersistence getPasswordPolicyRelPersistence()
public void setPasswordPolicyRelPersistence(PasswordPolicyRelPersistence passwordPolicyRelPersistence)
passwordPolicyRelPersistence - the password policy rel persistencepublic PhoneLocalService getPhoneLocalService()
public void setPhoneLocalService(PhoneLocalService phoneLocalService)
phoneLocalService - the phone local servicepublic PhoneService getPhoneService()
public void setPhoneService(PhoneService phoneService)
phoneService - the phone remote servicepublic PhonePersistence getPhonePersistence()
public void setPhonePersistence(PhonePersistence phonePersistence)
phonePersistence - the phone persistencepublic RegionService getRegionService()
public void setRegionService(RegionService regionService)
regionService - the region remote servicepublic RegionPersistence getRegionPersistence()
public void setRegionPersistence(RegionPersistence regionPersistence)
regionPersistence - the region persistencepublic ResourceLocalService getResourceLocalService()
public void setResourceLocalService(ResourceLocalService resourceLocalService)
resourceLocalService - the resource local servicepublic RoleLocalService getRoleLocalService()
public void setRoleLocalService(RoleLocalService roleLocalService)
roleLocalService - the role local servicepublic RoleService getRoleService()
public void setRoleService(RoleService roleService)
roleService - the role remote servicepublic RolePersistence getRolePersistence()
public void setRolePersistence(RolePersistence rolePersistence)
rolePersistence - the role persistencepublic RoleFinder getRoleFinder()
public void setRoleFinder(RoleFinder roleFinder)
roleFinder - the role finderpublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService - the user local servicepublic UserService getUserService()
public void setUserService(UserService userService)
userService - the user remote servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence - the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder - the user finderpublic UserGroupRoleLocalService getUserGroupRoleLocalService()
public void setUserGroupRoleLocalService(UserGroupRoleLocalService userGroupRoleLocalService)
userGroupRoleLocalService - the user group role local servicepublic UserGroupRoleService getUserGroupRoleService()
public void setUserGroupRoleService(UserGroupRoleService userGroupRoleService)
userGroupRoleService - the user group role remote servicepublic UserGroupRolePersistence getUserGroupRolePersistence()
public void setUserGroupRolePersistence(UserGroupRolePersistence userGroupRolePersistence)
userGroupRolePersistence - the user group role persistencepublic UserGroupRoleFinder getUserGroupRoleFinder()
public void setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder)
userGroupRoleFinder - the user group role finderpublic WebsiteLocalService getWebsiteLocalService()
public void setWebsiteLocalService(WebsiteLocalService websiteLocalService)
websiteLocalService - the website local servicepublic WebsiteService getWebsiteService()
public void setWebsiteService(WebsiteService websiteService)
websiteService - the website remote servicepublic WebsitePersistence getWebsitePersistence()
public void setWebsitePersistence(WebsitePersistence websitePersistence)
websitePersistence - the website persistencepublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface IdentifiableOSGiServicegetOSGiServiceIdentifier in interface OrganizationLocalServiceprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql - the sql query
|
Liferay 7.0-ce-a3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||