org.pentaho.platform.repository.subscription
Class Subscription
java.lang.Object
org.pentaho.platform.repository.subscription.Subscription
- All Implemented Interfaces:
- ISubscription
public class Subscription
- extends Object
- implements ISubscription
|
Constructor Summary |
Subscription(String subscriptionId,
String user,
String title,
ISubscribeContent content,
String destination,
int type)
|
Subscription(String subscriptionId,
String user,
String title,
ISubscribeContent content,
String destination,
int type,
Map<String,Object> parameters)
|
TYPE_PERSONAL
public static final int TYPE_PERSONAL
- See Also:
- Constant Field Values
TYPE_ROLE
public static final int TYPE_ROLE
- See Also:
- Constant Field Values
TYPE_GROUP
public static final int TYPE_GROUP
- See Also:
- Constant Field Values
COLUMN_USER
public static final int COLUMN_USER
- See Also:
- Constant Field Values
COLUMN_ID
public static final int COLUMN_ID
- See Also:
- Constant Field Values
COLUMN_DESTINATION
public static final int COLUMN_DESTINATION
- See Also:
- Constant Field Values
COLUMN_CONTENT_ID
public static final int COLUMN_CONTENT_ID
- See Also:
- Constant Field Values
COLUMN_TITLE
public static final int COLUMN_TITLE
- See Also:
- Constant Field Values
COLUMN_SOLUTION
public static final int COLUMN_SOLUTION
- See Also:
- Constant Field Values
COLUMN_PATH
public static final int COLUMN_PATH
- See Also:
- Constant Field Values
COLUMN_ACTION
public static final int COLUMN_ACTION
- See Also:
- Constant Field Values
Subscription
public Subscription(String subscriptionId,
String user,
String title,
ISubscribeContent content,
String destination,
int type)
Subscription
public Subscription(String subscriptionId,
String user,
String title,
ISubscribeContent content,
String destination,
int type,
Map<String,Object> parameters)
getMetadata
public static org.pentaho.commons.connection.memory.MemoryMetaData getMetadata(String[] parameterNames)
equals
public boolean equals(Object other)
- Specified by:
equals in interface ISubscription- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface ISubscription- Overrides:
hashCode in class Object
getRevision
public int getRevision()
- Specified by:
getRevision in interface ISubscription
- Returns:
- Returns the revision.
addSchedule
public void addSchedule(ISchedule sched)
- Specified by:
addSchedule in interface ISubscription
deleteSchedule
public boolean deleteSchedule(ISchedule sched)
- Specified by:
deleteSchedule in interface ISubscription
getSchedules
public List<ISchedule> getSchedules()
- Specified by:
getSchedules in interface ISubscription
getUser
public String getUser()
- Specified by:
getUser in interface ISubscription
getTitle
public String getTitle()
- Specified by:
getTitle in interface ISubscription
getDestination
public String getDestination()
- Specified by:
getDestination in interface ISubscription
getContent
public ISubscribeContent getContent()
- Specified by:
getContent in interface ISubscription
getParameters
public Map<String,Object> getParameters()
- Specified by:
getParameters in interface ISubscription
getId
public String getId()
- Specified by:
getId in interface ISubscription
getType
public int getType()
- Specified by:
getType in interface ISubscription
asDocument
public org.dom4j.Document asDocument()
- Specified by:
asDocument in interface ISubscription
asXml
public String asXml()
- Specified by:
asXml in interface ISubscription
setDestination
public void setDestination(String destination)
- Specified by:
setDestination in interface ISubscription
setTitle
public void setTitle(String title)
- Specified by:
setTitle in interface ISubscription
toResultRow
public Object[] toResultRow(String[] parameterNames)
- Specified by:
toResultRow in interface ISubscription