|
||||||||||
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.SharedService
atg.svc.repository.service.RecentTicketsService
public class RecentTicketsService
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 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 . |
ProfileService |
getProfileService()
|
atg.svc.repository.beans.RecentTickets |
getRecentTicketById(java.lang.String pRecentTicketsId)
Finds a RecentTickets by it's repository id. |
java.util.Collection |
getRecentTickets()
Returns a list of recent tickets visible to the current user. |
java.util.Collection |
getRecentTickets(java.lang.String pProfileId)
Returns a list of recent tickets visible to the user. |
java.util.Collection |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
java.util.Collection |
getRecentTicketsInAscOrder(java.lang.String pProfileId)
Returns a list of recent tickets visible to the user. |
java.util.Collection |
getRecentTicketsViewed()
Returns a list of recent tickets of type 'viewed' that are visible to the current user. |
java.util.Collection |
getRecentTicketsViewed(java.lang.String pProfileId)
Returns a list of recent tickets of type 'viewed' that are visible specified user. |
java.util.Collection |
getRecentTicketsWorked()
Returns a list of recent tickets of type 'worked' that are visible to the current user. |
java.util.Collection |
getRecentTicketsWorked(java.lang.String pProfileId)
Returns a list of recent tickets of type 'worked' that are visible to the specified user. |
UserOptionsService |
getUserOptionsService()
|
void |
saveRecentTickets(java.util.List pRecentTickets,
java.lang.String profileId)
Adds a list of recent ticketss . |
void |
saveRecentTickets(atg.svc.repository.beans.RecentTickets pRecentTickets)
Adds a recent tickets . |
void |
setProfileService(ProfileService pProfileService)
|
void |
setUserOptionsService(UserOptionsService pUserOptionsService)
|
Methods inherited from class atg.svc.repository.service.SharedService |
---|
getServiceSharedBeanHomes, getServiceSharedBeanHomesName, getServiceSharedRepositoryHomes, getServiceSharedRepositoryHomesName, setServiceSharedBeanHomesName, setServiceSharedRepositoryHomesName |
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 RecentTicketsService()
Method Detail |
---|
public UserOptionsService getUserOptionsService()
public void setUserOptionsService(UserOptionsService pUserOptionsService)
public ProfileService getProfileService()
public void setProfileService(ProfileService pProfileService)
public atg.svc.repository.beans.RecentTickets createRecentTickets() throws javax.ejb.CreateException
javax.ejb.CreateException
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 javax.ejb.CreateException, ObjectNotFoundException, PersistenceException, TransactionException, javax.ejb.FinderException
pRecentTickets
- ticket to save
javax.ejb.CreateException
- If the create fails.
ObjectNotFoundException
- If the save fails.
PersistenceException
- If the save fails.
TransactionException
javax.ejb.FinderException
public void saveRecentTickets(java.util.List pRecentTickets, java.lang.String profileId) throws javax.ejb.CreateException, ObjectNotFoundException, PersistenceException, TransactionException, javax.ejb.FinderException
profileId
- user's profile recentTickets should be added to.
javax.ejb.CreateException
- If the create fails.
ObjectNotFoundException
- If the save fails.
PersistenceException
- If the save fails.
TransactionException
javax.ejb.FinderException
public void checkMaximumRecordLimit(atg.userprofiling.Profile pProfile) throws javax.ejb.CreateException, ObjectNotFoundException, PersistenceException, TransactionException, javax.ejb.FinderException
pProfile
- user's profile recentTickets should be checked for
ObjectNotFoundException
PersistenceException
javax.ejb.CreateException
TransactionException
javax.ejb.FinderException
public void checkMaximumRecordLimit(java.lang.String pProfileId, atg.svc.repository.beans.RecentTickets pRecentTickets) throws javax.ejb.CreateException, ObjectNotFoundException, PersistenceException, TransactionException, javax.ejb.FinderException
pProfileId
- user's profile recentTickets should be checked forpRecentTickets
- pRecentTickets
ObjectNotFoundException
PersistenceException
javax.ejb.CreateException
TransactionException
javax.ejb.FinderException
public void checkMaximumRecordLimit(java.lang.String pProfileId, java.util.List pRecentTickets) throws javax.ejb.CreateException, ObjectNotFoundException, PersistenceException, TransactionException, javax.ejb.FinderException
pProfileId
- user's profile recentTickets should be checked forpRecentTickets
- pRecentTickets
ObjectNotFoundException
PersistenceException
javax.ejb.CreateException
TransactionException
javax.ejb.FinderException
public void deleteRecentTicket(java.lang.String pRecentTicketsId) throws ObjectNotFoundException, PersistenceException
pRecentTicketsId
- -
recentTickets id.
ObjectNotFoundException
PersistenceException
public java.util.Collection getRecentTickets()
public java.util.Collection getRecentTickets(java.lang.String pProfileId)
pProfileId
- profile id of the user we're looking up.
public java.util.Collection getRecentTicketsInAscOrder(java.lang.String pProfileId)
pProfileId
- profile id of the user we're looking up.
public java.util.Collection getRecentTicketsViewed()
public java.util.Collection getRecentTicketsViewed(java.lang.String pProfileId)
pProfileId
- profile id of the user we're looking up.
public java.util.Collection getRecentTicketsWorked()
public java.util.Collection getRecentTicketsWorked(java.lang.String pProfileId)
pProfileId
- profile id of the user we're looking up.
public java.util.Collection getRecentTicketsByType(atg.svc.repository.beans.RecentTicketsType pType)
pType
- -
recentTickets type. 'worked' or 'viewed'
public java.util.Collection getRecentTicketsByType(java.lang.String pType)
pType
- -
RecentTicketsType. 'worked' or 'viewed'
public java.util.Collection 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 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 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 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 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 |