|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.svc.repository.service.BaseService
atg.svc.repository.service.LogicalOrganizationService
public class LogicalOrganizationService
Base service for business logic classes that use the logical organization repository (/atg/userprofiling/LogicalOrganizationRepository).
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
LogicalOrganizationService()
|
Method Summary | |
---|---|
atg.svc.userprofiling.logicalorganization.SolutionInternalAudience |
createSolutionInternalAudience()
Creates a SolutionInternalAudience object that wraps the solutionInternalAudience repository item. |
atg.svc.userprofiling.logicalorganization.SolutionOwningGroup |
createSolutionOwningGroup()
Creates a SolutionOwningGroup object that wraps the solutionOwningGroup repository item. |
java.util.Collection |
findAllSolutionInternalAudiences()
Finds all SolutionInternalAudience items in the repository. |
java.util.Collection |
findAllSolutionLogicalOrganizations()
Gets all SolutionLogicalOrganizations (the super-type of SolutionOwningGroup and SolutionInternalAudience) in the repository. |
java.util.Collection |
findAllSolutionLogicalOrganizationsByOrganizationId(java.lang.String pOrganizationId)
Gets all SolutionLogicalOrganizations (the super-type of SolutionOwningGroup and SolutionInternalAudience) in the repository with the given physical organization id. |
java.util.Collection |
findAllSolutionOwningGroups()
Finds all SolutionOwningGroup items in the repository. |
atg.svc.userprofiling.logicalorganization.SolutionInternalAudience |
findSolutionInternalAudienceByOrganizationId(java.lang.String pOrganizationId)
Finds a SolutionInternalAudience given the physical organization id. |
atg.svc.userprofiling.logicalorganization.SolutionOwningGroup |
findSolutionOwningGroupById(java.lang.String pId)
Finds a SolutionOwningGroup given the repository id. |
atg.svc.userprofiling.logicalorganization.SolutionOwningGroup |
findSolutionOwningGroupByOrganizationId(java.lang.String pOrganizationId)
Finds a SolutionOwningGroup given the physical organization id. |
java.util.List |
getInternalAudienceListById(java.lang.String[] pIds)
Gets a set of internal audience objects given an array of repository ids. |
atg.svc.userprofiling.logicalorganization.LogicalOrganizationHomes |
getLogicalOrganizationRepositoryHomes()
Gets the factory for the repository homes for the LogicalOrganizationRepository. |
java.lang.String |
getLogicalOrganizationRepositoryHomesName()
Gets the name of the repository homes for the LogicalOrganizationRepository. |
atg.svc.userprofiling.logicalorganization.SolutionInternalAudience |
getSolutionInternalAudienceById(java.lang.String pId)
Gets a SolutionInternalAudience given the repository id. |
atg.svc.userprofiling.logicalorganization.SolutionInternalAudience |
getSolutionInternalAudienceByOrganization(java.lang.String pOrgId,
java.lang.String pOrgName)
Finds a SolutionInternalAudience given the organization id. |
atg.svc.userprofiling.logicalorganization.SolutionOwningGroup |
getSolutionOwningGroupByOrganization(java.lang.String pOrgId,
java.lang.String pOrgName)
Finds a SolutionOwningGroup given the organization id. |
void |
removeSolutionInternalAudience(java.lang.String pId)
Removes a SolutionInternalAudience given the repository id. |
void |
removeSolutionLogicalOrganizationsByOrganizationId(java.lang.String pOrganizationId)
Removes all SolutionLogicalOrganizations with the given physical organization id. |
void |
removeSolutionOwningGroup(java.lang.String pId)
Removes a SolutionOwningGroup given the repository id. |
void |
saveSolutionInternalAudience(atg.svc.userprofiling.logicalorganization.SolutionInternalAudience pSolutionInternalAudience)
Saves the SolutionInternalAudience to the repository. |
void |
saveSolutionOwningGroup(atg.svc.userprofiling.logicalorganization.SolutionOwningGroup pSolutionOwningGroup)
Saves the SolutionOwningGroup to the repository. |
void |
setLogicalOrganizationRepositoryHomesName(java.lang.String pLogicalOrganizationRepositoryHomesName)
Sets the name of the repository homes for the LogicalOrganizationRepository. |
Methods inherited from class atg.svc.repository.service.BaseService |
---|
getRepositoryService, getToday, setRepositoryService |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public LogicalOrganizationService()
Method Detail |
---|
public java.lang.String getLogicalOrganizationRepositoryHomesName()
public void setLogicalOrganizationRepositoryHomesName(java.lang.String pLogicalOrganizationRepositoryHomesName)
pLogicalOrganizationRepositoryHomesName
- The name of the repository homes for the LogicalOrganizationRepository.public atg.svc.userprofiling.logicalorganization.SolutionOwningGroup createSolutionOwningGroup() throws javax.ejb.CreateException
javax.ejb.CreateException
- If the create operation fails.public atg.svc.userprofiling.logicalorganization.SolutionOwningGroup findSolutionOwningGroupById(java.lang.String pId) throws ObjectNotFoundException
pId
- The repository id of the SolutionOwningGroup to find.
ObjectNotFoundException
- If the SolutionOwningGroup is not found by id.public atg.svc.userprofiling.logicalorganization.SolutionOwningGroup findSolutionOwningGroupByOrganizationId(java.lang.String pOrganizationId) throws ObjectNotFoundException
pOrganizationId
- The physical organization id of the SolutionOwningGroup to find.
ObjectNotFoundException
- If the SolutionOwningGroup is not found by id.public java.util.Collection findAllSolutionOwningGroups()
atg.core.exception.ContainerRuntimeException
- If the finder execution fails.public atg.svc.userprofiling.logicalorganization.SolutionOwningGroup getSolutionOwningGroupByOrganization(java.lang.String pOrgId, java.lang.String pOrgName) throws javax.ejb.CreateException, PersistenceException
pOrgId
- The physical organization id.pOrgName
- The physical organization name to set if none is found by id.
javax.ejb.CreateException
- If the create operation fails.
PersistenceException
- If the save operation fails.public void removeSolutionOwningGroup(java.lang.String pId) throws ObjectNotFoundException, PersistenceException
pId
- The repository id of the SolutionOwningGroup to remove.
ObjectNotFoundException
- If the SolutionOwningGroup is not found.
PersistenceException
- If the remove fails.public void saveSolutionOwningGroup(atg.svc.userprofiling.logicalorganization.SolutionOwningGroup pSolutionOwningGroup) throws PersistenceException
pSolutionOwningGroup
- The SolutionOwningGroup to save.
PersistenceException
- If the save operation fails.public atg.svc.userprofiling.logicalorganization.SolutionInternalAudience createSolutionInternalAudience() throws javax.ejb.CreateException
javax.ejb.CreateException
- If the create operation fails.public atg.svc.userprofiling.logicalorganization.SolutionInternalAudience getSolutionInternalAudienceById(java.lang.String pId) throws ObjectNotFoundException
pId
- The repository id of the SolutionInternalAudience to find.
ObjectNotFoundException
- If the SolutionInternalAudience is not found by id.public atg.svc.userprofiling.logicalorganization.SolutionInternalAudience getSolutionInternalAudienceByOrganization(java.lang.String pOrgId, java.lang.String pOrgName) throws javax.ejb.CreateException, PersistenceException
pOrgId
- The physical organization id.pOrgName
- The physical organization name to set if none is found by id.
javax.ejb.CreateException
- If the create operation fails.
PersistenceException
- If the save operation fails.public atg.svc.userprofiling.logicalorganization.SolutionInternalAudience findSolutionInternalAudienceByOrganizationId(java.lang.String pOrganizationId) throws ObjectNotFoundException
pOrganizationId
- The physical organization id of the SolutionInternalAudience to find.
ObjectNotFoundException
- If the SolutionInternalAudience is not found by id.public java.util.Collection findAllSolutionInternalAudiences()
atg.core.exception.ContainerRuntimeException
- If the finder execution fails.public java.util.List getInternalAudienceListById(java.lang.String[] pIds) throws ObjectNotFoundException
pIds
- The array of repository ids.
ObjectNotFoundException
- If a SolutionInternalAudience cannot be found by a given id.public void removeSolutionInternalAudience(java.lang.String pId) throws ObjectNotFoundException, PersistenceException
pId
- The repository id of the SolutionInternalAudience to remove.
ObjectNotFoundException
- If the SolutionInternalAudience is not found.
PersistenceException
- If the remove fails.public void saveSolutionInternalAudience(atg.svc.userprofiling.logicalorganization.SolutionInternalAudience pSolutionInternalAudience) throws PersistenceException
pSolutionInternalAudience
- The SolutionInternalAudience to save.
PersistenceException
- If the save operation fails.public java.util.Collection findAllSolutionLogicalOrganizations()
atg.core.exception.ContainerRuntimeException
- If the finder execution fails.public java.util.Collection findAllSolutionLogicalOrganizationsByOrganizationId(java.lang.String pOrganizationId)
atg.core.exception.ContainerRuntimeException
- If the finder execution fails.public void removeSolutionLogicalOrganizationsByOrganizationId(java.lang.String pOrganizationId) throws PersistenceException
pOrganizationId
- The organization id of the SolutionLogicalOrganizations to remove.
PersistenceException
- If the remove fails.
atg.core.exception.ContainerRuntimeException
- If the finder to get the SolutionLogicalOrganizations fails.public atg.svc.userprofiling.logicalorganization.LogicalOrganizationHomes getLogicalOrganizationRepositoryHomes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |