|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface OrganizationPersistence
| 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 |
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 |
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<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
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 |
registerListener(ModelListener listener)
|
Organization |
remove(long organizationId)
|
Organization |
remove(Organization organization)
|
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)
|
void |
unregisterListener(ModelListener listener)
|
Organization |
update(Organization organization)
Deprecated. Use update(Organization organization, boolean merge). |
Organization |
update(Organization organization,
boolean merge)
Add, update, or merge, the entity. |
Organization |
updateImpl(Organization organization,
boolean merge)
|
| Method Detail |
|---|
Organization create(long organizationId)
Organization remove(long organizationId)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
Organization remove(Organization organization)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Organization update(Organization organization)
throws com.liferay.portal.SystemException
update(Organization organization, boolean merge).
com.liferay.portal.SystemException
Organization update(Organization organization,
boolean merge)
throws com.liferay.portal.SystemException
organization - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when organization is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
Organization updateImpl(Organization organization,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization findByPrimaryKey(long organizationId)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
Organization fetchByPrimaryKey(long organizationId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization[] findByCompanyId_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findByLocations(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findByLocations(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findByLocations(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization findByLocations_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization findByLocations_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization[] findByLocations_PrevAndNext(long organizationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findByC_P(long companyId,
long parentOrganizationId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization findByC_P_First(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization findByC_P_Last(long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization[] findByC_P_PrevAndNext(long organizationId,
long companyId,
long parentOrganizationId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization findByC_N(long companyId,
java.lang.String name)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
Organization fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByLocations(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_N(long companyId,
java.lang.String name)
throws NoSuchOrganizationException,
com.liferay.portal.SystemException
NoSuchOrganizationException
com.liferay.portal.SystemException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByLocations(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByC_P(long companyId,
long parentOrganizationId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Group> getGroups(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Group> getGroups(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Group> getGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupsSize(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsGroups(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addGroup(long pk,
Group group)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void clearGroups(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeGroup(long pk,
Group group)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void setGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void setGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<User> getUsers(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<User> getUsers(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<User> getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getUsersSize(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsUsers(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addUser(long pk,
User user)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void clearUsers(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeUser(long pk,
User user)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void setUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||