|
||||||||||
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.RecentTicketsService
@Service(requiredProperties={"optionService","profileService","ticketingRepository"}) public class RecentTicketsService
Service class for the RecentTickets Repository Item.
Nested Class Summary | |
---|---|
protected class |
RecentTicketsService.SaveRecentTicketsRunner
Save Runner that creates a collection of new repository objects from a collection of new beans. |
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 | |
---|---|
RecentTicketsService()
|
Method Summary | |
---|---|
void |
checkMaximumRecordLimit(atg.userprofiling.Profile pProfile)
This method check for the maximum record limit for Recent Tickets for a particular user. |
void |
checkMaximumRecordLimit(java.lang.String pProfileId,
java.util.List<atg.svc.repository.beans.RecentTickets> pRecentTickets)
This method check for the maximum record limit for Recent Tickets for a particular user. |
void |
checkMaximumRecordLimit(java.lang.String pProfileId,
atg.svc.repository.beans.RecentTickets pRecentTickets)
This method check for the maximum record limit for Recent Tickets for a particular user and of ticket type. |
atg.svc.repository.beans.RecentTickets |
createRecentTickets()
Creates a new transient RecentTickets repository bean. |
void |
deleteRecentTicket(java.lang.String pRecentTicketsId)
Deleted the specified recent tickets from repository. |
atg.svc.repository.beans.RecentTickets |
edit(java.lang.String pRecentTicketsId)
Gets an editable version of a recent tickets given the repository id of the recentTickets . |
atg.svc.repository.service.OptionService |
getOptionService()
|
FrameworkProfileService |
getProfileService()
|
atg.svc.repository.beans.RecentTickets |
getRecentTicketById(java.lang.String pRecentTicketsId)
Finds a RecentTickets by it's repository id. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTickets()
Returns a list of recent tickets visible to the current user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTickets(java.lang.String pProfileId)
Returns a list of recent tickets visible to the user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsByIdAndType(java.lang.String pProfileId,
atg.svc.repository.beans.RecentTicketsType pType)
Returns a list recent tickets of the specified type that are visible for the given user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsByIdAndType(java.lang.String pProfileId,
java.lang.String pType)
Returns a list recent tickets of the specified type that are visible for the given user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsByIdAndTypeAsc(java.lang.String pProfileId,
atg.svc.repository.beans.RecentTicketsType pType)
Returns a list recent tickets of the specified type that are visible for the given user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsByIdAndTypeAsc(java.lang.String pProfileId,
java.lang.String pType)
Returns a list recent tickets of the specified type that are visible for the given user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsByType(atg.svc.repository.beans.RecentTicketsType pType)
Returns a list of recent tickets of type 'worked' or 'viewed' that are visible to the current user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsByType(java.lang.String pType)
Returns a list of recent tickets of type 'worked' or 'viewed' that are visible to the current user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsByUserIdTypeAndTicket(java.lang.String pProfileId,
java.lang.String pType,
java.lang.String pTicketId)
Returns a list recent tickets of the specified type that are visible for the given user. |
static atg.svc.repository.homes.RecentTicketsHome |
getRecentTicketsHome()
Provides access to the RecentTicketsHome instance |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsInAscOrder(java.lang.String pProfileId)
Returns a list of recent tickets visible to the user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsViewed()
Returns a list of recent tickets of type 'viewed' that are visible to the current user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsViewed(java.lang.String pProfileId)
Returns a list of recent tickets of type 'viewed' that are visible specified user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsWorked()
Returns a list of recent tickets of type 'worked' that are visible to the current user. |
java.util.Collection<atg.svc.repository.beans.RecentTickets> |
getRecentTicketsWorked(java.lang.String pProfileId)
Returns a list of recent tickets of type 'worked' that are visible to the specified user. |
atg.repository.Repository |
getTicketingRepository()
|
void |
saveRecentTickets(java.util.List<atg.svc.repository.beans.RecentTickets> pRecentTickets,
java.lang.String profileId)
Adds a list of recent tickets . |
void |
saveRecentTickets(atg.svc.repository.beans.RecentTickets pRecentTickets)
Adds a recent tickets . |
void |
setOptionService(atg.svc.repository.service.OptionService pOptionService)
|
void |
setProfileService(FrameworkProfileService pProfileService)
|
void |
setTicketingRepository(atg.repository.Repository repository)
|
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, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 RecentTicketsService()
Method Detail |
---|
public static atg.svc.repository.homes.RecentTicketsHome getRecentTicketsHome()
public atg.svc.repository.service.OptionService getOptionService()
public void setOptionService(atg.svc.repository.service.OptionService pOptionService)
public FrameworkProfileService getProfileService()
public void setProfileService(FrameworkProfileService pProfileService)
public void setTicketingRepository(atg.repository.Repository repository)
public atg.repository.Repository getTicketingRepository()
public atg.svc.repository.beans.RecentTickets createRecentTickets() throws SvcException
SvcException
public atg.svc.repository.beans.RecentTickets edit(java.lang.String pRecentTicketsId) throws ObjectNotFoundException
pRecentTicketsId
- Id of the recent tickets
ObjectNotFoundException
public atg.svc.repository.beans.RecentTickets getRecentTicketById(java.lang.String pRecentTicketsId) throws ObjectNotFoundException
pRecentTicketsId
- The repository id.
ObjectNotFoundException
- If the id is not found.public void saveRecentTickets(atg.svc.repository.beans.RecentTickets pRecentTickets) throws ObjectNotFoundException, SvcException
pRecentTickets
- ticket to save
ObjectNotFoundException
- If the save fails.
atg.svc.repository.service.exception.SvcException
- If the save fails.
SvcException
public void saveRecentTickets(java.util.List<atg.svc.repository.beans.RecentTickets> pRecentTickets, java.lang.String profileId) throws ObjectNotFoundException, SvcException
profileId
- user's profile recentTickets should be added to.
ObjectNotFoundException
- If the save fails.
atg.svc.repository.service.exception.SvcException
- If the save fails.
SvcException
public void checkMaximumRecordLimit(atg.userprofiling.Profile pProfile) throws ObjectNotFoundException, SvcException
pProfile
- user's profile recentTickets should be checked for
ObjectNotFoundException
atg.svc.repository.service.exception.SvcException
SvcException
public void checkMaximumRecordLimit(java.lang.String pProfileId, atg.svc.repository.beans.RecentTickets pRecentTickets) throws ObjectNotFoundException, SvcException
pProfileId
- user's profile recentTickets should be checked forpRecentTickets
- pRecentTickets
ObjectNotFoundException
atg.svc.repository.service.exception.SvcException
SvcException
public void checkMaximumRecordLimit(java.lang.String pProfileId, java.util.List<atg.svc.repository.beans.RecentTickets> pRecentTickets) throws ObjectNotFoundException, SvcException
pProfileId
- user's profile recentTickets should be checked forpRecentTickets
- pRecentTickets
ObjectNotFoundException
atg.svc.repository.service.exception.SvcException
SvcException
public void deleteRecentTicket(java.lang.String pRecentTicketsId) throws ObjectNotFoundException, PersistenceException
pRecentTicketsId
- -
recentTickets id.
ObjectNotFoundException
atg.svc.repository.service.exception.SvcException
PersistenceException
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTickets()
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTickets(java.lang.String pProfileId)
pProfileId
- profile id of the user we're looking up.
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsInAscOrder(java.lang.String pProfileId)
pProfileId
- profile id of the user we're looking up.
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsViewed()
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsViewed(java.lang.String pProfileId)
pProfileId
- profile id of the user we're looking up.
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsWorked()
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsWorked(java.lang.String pProfileId)
pProfileId
- profile id of the user we're looking up.
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsByType(atg.svc.repository.beans.RecentTicketsType pType)
pType
- -
recentTickets type. 'worked' or 'viewed'
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsByType(java.lang.String pType)
pType
- -
RecentTicketsType. 'worked' or 'viewed'
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsByIdAndType(java.lang.String pProfileId, atg.svc.repository.beans.RecentTicketsType pType)
pProfileId
- profile id of the user we're looking up.pType
- "type 'worked' or 'viewed'
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsByIdAndType(java.lang.String pProfileId, java.lang.String pType)
pProfileId
- profile id of the user we're looking up.pType
- type type 'worked' or 'viewed'
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsByIdAndTypeAsc(java.lang.String pProfileId, atg.svc.repository.beans.RecentTicketsType pType)
pProfileId
- profile id of the user we're looking up.pType
- "type 'worked' or 'viewed'
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsByIdAndTypeAsc(java.lang.String pProfileId, java.lang.String pType)
pProfileId
- profile id of the user we're looking up.pType
- type type 'worked' or 'viewed'
public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTicketsByUserIdTypeAndTicket(java.lang.String pProfileId, java.lang.String pType, java.lang.String pTicketId)
pProfileId
- profile id of the user we're looking up.pType
- type type 'worked' or 'viewed'pTicketId
- TicketId
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |