Package mc.core.model.system
Class Reporting
java.lang.Object
mc.core.model.base.EntityBase
mc.core.model.base.SimpleEntity
mc.core.model.system.Reporting
- All Implemented Interfaces:
Serializable,IBaseEntity,ICollectionManaged,ICoreEntity,IEntity,ISortableEntity,ISchedulable
entity to store report definition
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class mc.core.model.base.EntityBase
EntityBase.EntityComparator, EntityBase.Param -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intISchedulable: reporting should start a periodical workflowFields inherited from class mc.core.model.base.EntityBase
INTDESC_COLUMN_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOwner()longgetType()booleanisNotify()booleanbooleanFlag that indicates if the entities have a root collection per type or if there is only one global root collection.booleanvoidsetDateCreated(Calendar dateCreated) voidsetDateExecution(Calendar dateExecution) voidsetDateModified(Calendar dateModified) voidsetDefinition(String definition) voidsetNotificationReceivers(Set<Principal> notificationReceivers) voidsetNotify(boolean notify) voidsetNotifyResultOnly(boolean notifyResultOnly) voidvoidsetPeriod(long period) voidsetReportingProperties(Set<ReportingProperty> reportingProperties) voidsetReportingResults(List<Report> reportingResults) voidsetScheduleExpression(String scheduleExpression) voidsetStartTime(Calendar startTime) voidsetTimerWorkflow(boolean timerWorkflow) voidsetWorkflowType(WorkflowType workflowType) Methods inherited from class mc.core.model.base.SimpleEntity
getId, getInternalDescription, getIsActive, setId, setIsActiveMethods inherited from class mc.core.model.base.EntityBase
equals, getCollection, getDescription, getDescription, getFlag, getIsSystem, getName, getName, getNamespace, getPrio, hashCode, setCollection, setDescription, setDescription, setFlag, setInternalDescription, setIsSystem, setName, setName, setNamespace, setPrio, toStringMethods inherited from interface mc.core.model.base.IBaseEntity
getId, setIdMethods inherited from interface mc.core.model.base.ICollectionManaged
getCollection, setCollectionMethods inherited from interface mc.core.model.base.IEntity
getDescription, getInternalDescription, getName, getPrio, setInternalDescription
-
Field Details
-
BIT_TIMER_WF
public static final int BIT_TIMER_WFISchedulable: reporting should start a periodical workflow- See Also:
-
-
Constructor Details
-
Reporting
public Reporting()default constructor -
Reporting
constructor with mandatory properties -
Reporting
copy constructor
-
-
Method Details
-
getOwner
-
setOwner
-
getWorkflowType
- Specified by:
getWorkflowTypein interfaceISchedulable- Returns:
- the workflow type responsive to execute this schedulable object
-
getReportingProperties
-
setReportingProperties
-
getReportingResults
-
setReportingResults
-
getNotificationReceivers
-
setNotificationReceivers
-
getDefinition
-
setDefinition
-
getDateCreated
-
setDateCreated
-
getDateModified
-
setDateModified
-
getDateExecution
- Returns:
- Time when reporting result was most recently stored (last run of reporting).
-
setDateExecution
-
setWorkflowType
-
getStartTime
- Specified by:
getStartTimein interfaceISchedulable- Returns:
- start time as calendar
-
setStartTime
-
getPeriod
public long getPeriod()- Specified by:
getPeriodin interfaceISchedulable- Returns:
- execution interval in seconds
-
setPeriod
public void setPeriod(long period) -
getScheduleExpression
- Specified by:
getScheduleExpressionin interfaceISchedulable- Returns:
- schedule expression in cron syntax
-
setScheduleExpression
-
isTimerWorkflow
public boolean isTimerWorkflow()- Specified by:
isTimerWorkflowin interfaceISchedulable- Returns:
- true if timer flag is enabled
-
setTimerWorkflow
public void setTimerWorkflow(boolean timerWorkflow) -
isNotify
public boolean isNotify() -
setNotify
public void setNotify(boolean notify) -
isNotifyResultOnly
public boolean isNotifyResultOnly() -
setNotifyResultOnly
public void setNotifyResultOnly(boolean notifyResultOnly) -
isRootPerType
public boolean isRootPerType()Description copied from interface:ICollectionManagedFlag that indicates if the entities have a root collection per type or if there is only one global root collection. if rootPerType true it can only apply to entities that have a type, i.e. ComplexEntities.- Specified by:
isRootPerTypein interfaceICollectionManaged
-
getType
- Specified by:
getTypein interfaceICollectionManaged
-