com.liferay.portal.service.persistence
Interface OrganizationPersistence
- All Superinterfaces:
- BasePersistence<Organization>
public interface OrganizationPersistence
- extends BasePersistence<Organization>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
OrganizationPersistenceImpl
,
OrganizationUtil
- Generated:
Method Summary |
void |
addGroup(long pk,
Group group)
|
void |
addGroup(long pk,
long groupPK)
|
void |
addGroups(long pk,
java.util.List<Group> groups)
|
void |
addGroups(long pk,
long[] groupPKs)
|
void |
addUser(long pk,
long userPK)
|
void |
addUser(long pk,
User user)
|
void |
addUsers(long pk,
java.util.List<User> users)
|
void |
addUsers(long pk,
long[] userPKs)
|
void |
cacheResult(java.util.List<Organization> organizations)
|
void |
cacheResult(Organization organization)
|
void |
clearGroups(long pk)
|
void |
clearUsers(long pk)
|
boolean |
containsGroup(long pk,
long groupPK)
|
boolean |
containsGroups(long pk)
|
boolean |
containsUser(long pk,
long userPK)
|
boolean |
containsUsers(long pk)
|
int |
countAll()
|
int |
countByC_N(long companyId,
java.lang.String name)
|
int |
countByC_P(long companyId,
long parentOrganizationId)
|
int |
countByCompanyId(long companyId)
|
int |
countByLocations(long companyId)
|
Organization |
create(long organizationId)
|
Organization |
fetchByC_N(long companyId,
java.lang.String name)
|
Organization |
fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
|
Organization |
fetchByPrimaryKey(long organizationId)
|
java.util.List<Organization> |
findAll()
|
java.util.List<Organization> |
findAll(int start,
int end)
|
java.util.List<Organization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByC_N(long companyId,
java.lang.String name)
|
Organization |
findByC_P_First(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByC_P_Last(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization[] |
findByC_P_PrevAndNext(long organizationId,
long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Organization> |
findByC_P(long companyId,
long parentOrganizationId)
|
java.util.List<Organization> |
findByC_P(long companyId,
long parentOrganizationId,
int start,
int end)
|
java.util.List<Organization> |
findByC_P(long companyId,
long parentOrganizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization[] |
findByCompanyId_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Organization> |
findByCompanyId(long companyId)
|
java.util.List<Organization> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<Organization> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByLocations_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByLocations_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization[] |
findByLocations_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Organization> |
findByLocations(long companyId)
|
java.util.List<Organization> |
findByLocations(long companyId,
int start,
int end)
|
java.util.List<Organization> |
findByLocations(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Organization |
findByPrimaryKey(long organizationId)
|
java.util.List<Group> |
getGroups(long pk)
|
java.util.List<Group> |
getGroups(long pk,
int start,
int end)
|
java.util.List<Group> |
getGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupsSize(long pk)
|
java.util.List<User> |
getUsers(long pk)
|
java.util.List<User> |
getUsers(long pk,
int start,
int end)
|
java.util.List<User> |
getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getUsersSize(long pk)
|
void |
rebuildTree(long companyId,
boolean force)
|
Organization |
remove(long organizationId)
|
void |
removeAll()
|
void |
removeByC_N(long companyId,
java.lang.String name)
|
void |
removeByC_P(long companyId,
long parentOrganizationId)
|
void |
removeByCompanyId(long companyId)
|
void |
removeByLocations(long companyId)
|
void |
removeGroup(long pk,
Group group)
|
void |
removeGroup(long pk,
long groupPK)
|
void |
removeGroups(long pk,
java.util.List<Group> groups)
|
void |
removeGroups(long pk,
long[] groupPKs)
|
void |
removeUser(long pk,
long userPK)
|
void |
removeUser(long pk,
User user)
|
void |
removeUsers(long pk,
java.util.List<User> users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setGroups(long pk,
java.util.List<Group> groups)
|
void |
setGroups(long pk,
long[] groupPKs)
|
void |
setUsers(long pk,
java.util.List<User> users)
|
void |
setUsers(long pk,
long[] userPKs)
|
Organization |
updateImpl(Organization organization,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update |
cacheResult
void cacheResult(Organization organization)
cacheResult
void cacheResult(java.util.List<Organization> organizations)
create
Organization create(long organizationId)
remove
Organization remove(long organizationId)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
updateImpl
Organization updateImpl(Organization organization,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
Organization findByPrimaryKey(long organizationId)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
Organization fetchByPrimaryKey(long organizationId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByCompanyId
java.util.List<Organization> findByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByCompanyId
java.util.List<Organization> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByCompanyId
java.util.List<Organization> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_First
Organization findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_Last
Organization findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_PrevAndNext
Organization[] findByCompanyId_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByLocations
java.util.List<Organization> findByLocations(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByLocations
java.util.List<Organization> findByLocations(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByLocations
java.util.List<Organization> findByLocations(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByLocations_First
Organization findByLocations_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByLocations_Last
Organization findByLocations_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByLocations_PrevAndNext
Organization[] findByLocations_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByC_P
java.util.List<Organization> findByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_P
java.util.List<Organization> findByC_P(long companyId,
long parentOrganizationId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_P
java.util.List<Organization> findByC_P(long companyId,
long parentOrganizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_P_First
Organization findByC_P_First(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByC_P_Last
Organization findByC_P_Last(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByC_P_PrevAndNext
Organization[] findByC_P_PrevAndNext(long organizationId,
long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
findByC_N
Organization findByC_N(long companyId,
java.lang.String name)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
fetchByC_N
Organization fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByC_N
Organization fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Organization> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Organization> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Organization> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByCompanyId
void removeByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByLocations
void removeByLocations(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_P
void removeByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_N
void removeByC_N(long companyId,
java.lang.String name)
throws NoSuchOrganizationException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchOrganizationException
com.liferay.portal.kernel.exception.SystemException
removeAll
void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByCompanyId
int countByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByLocations
int countByLocations(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_P
int countByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_N
int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroups
java.util.List<Group> getGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroups
java.util.List<Group> getGroups(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroups
java.util.List<Group> getGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupsSize
int getGroupsSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsGroup
boolean containsGroup(long pk,
long groupPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsGroups
boolean containsGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroup
void addGroup(long pk,
long groupPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroup
void addGroup(long pk,
Group group)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroups
void addGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroups
void addGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
clearGroups
void clearGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeGroup
void removeGroup(long pk,
long groupPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeGroup
void removeGroup(long pk,
Group group)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeGroups
void removeGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeGroups
void removeGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setGroups
void setGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setGroups
void setGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
java.util.List<User> getUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
java.util.List<User> getUsers(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
java.util.List<User> getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsersSize
int getUsersSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsUser
boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsUsers
boolean containsUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUser
void addUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUser
void addUser(long pk,
User user)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUsers
void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUsers
void addUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
clearUsers
void clearUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUser
void removeUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUser
void removeUser(long pk,
User user)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUsers
void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUsers
void removeUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUsers
void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUsers
void setUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
rebuildTree
void rebuildTree(long companyId,
boolean force)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException