|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.dem.managers.impl.UsageIssuesManagerImpl
public class UsageIssuesManagerImpl
The user issue manager implementation. Singleton pattern.
Method Summary | |
---|---|
void |
addIssue(IssueType issueType,
IssueScope issueScope,
String location,
String issueDescription,
Exception exception)
Adds an issue to the issue manager. |
void |
addIssue(UsageIssue usageIssue)
Adds an issue to the manager. |
static IUsageIssuesManager |
getInstance()
Singleton pattern instance accessor. |
Map<String,List<UsageIssue>> |
getIssues()
Returns all the issues on the manager. |
List<UsageIssue> |
getIssues(String entityUID)
Returns the issues associated to the entity with the given UID. |
boolean |
hasIssues()
Returns T if there are issues on the manager, F otherwise. |
boolean |
hasIssues(String location)
Returns T if there are issues for the given location, F otherwise. |
void |
logAllIssuesByEntity()
Logs all issues on the manager by entity. |
void |
logAllIssuesByType()
Logs all issues on the manager by type. |
void |
logIssues(String entityUID)
Logs all issues associated to the entity with the given UID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IUsageIssuesManager getInstance()
public void addIssue(IssueType issueType, IssueScope issueScope, String location, String issueDescription, Exception exception)
IUsageIssuesManager
addIssue
in interface IUsageIssuesManager
issueType
- the issue typeissueScope
- the issue scopelocation
- the issue locationissueDescription
- the issue descriptionexception
- the exception that might associated to the issueIUsageIssuesManager.addIssue(pt.digitalis.dif.dem.objects.issues.IssueType,
pt.digitalis.dif.dem.objects.issues.IssueScope, java.lang.String, java.lang.String, java.lang.Exception)
public void addIssue(UsageIssue usageIssue)
IUsageIssuesManager
addIssue
in interface IUsageIssuesManager
usageIssue
- the issue to addIUsageIssuesManager.addIssue(pt.digitalis.dif.dem.objects.issues.UsageIssue)
public Map<String,List<UsageIssue>> getIssues()
IUsageIssuesManager
getIssues
in interface IUsageIssuesManager
IUsageIssuesManager.getIssues()
public List<UsageIssue> getIssues(String entityUID)
IUsageIssuesManager
getIssues
in interface IUsageIssuesManager
IUsageIssuesManager.getIssues(java.lang.String)
public boolean hasIssues()
IUsageIssuesManager
hasIssues
in interface IUsageIssuesManager
IUsageIssuesManager.hasIssues()
public boolean hasIssues(String location)
IUsageIssuesManager
hasIssues
in interface IUsageIssuesManager
location
- the location
IUsageIssuesManager.hasIssues(java.lang.String)
public void logAllIssuesByEntity()
IUsageIssuesManager
logAllIssuesByEntity
in interface IUsageIssuesManager
IUsageIssuesManager.logAllIssuesByEntity()
public void logAllIssuesByType()
IUsageIssuesManager
logAllIssuesByType
in interface IUsageIssuesManager
IUsageIssuesManager.logAllIssuesByType()
public void logIssues(String entityUID)
IUsageIssuesManager
logIssues
in interface IUsageIssuesManager
entityUID
- the entity's UIDIUsageIssuesManager.logIssues(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |