Interface ContentSubscriberInterface
- All Superinterfaces:
MetadataInterface,PublicObjectInterface,Remote,SubscriberInterface
Package subscriber interface.
- Since:
- 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe default Email format.static final StringThe default WebDAV URL type code.static final StringEmail format code: HTMLstatic final StringEmail format code: textstatic final StringA value used to indicate that the Email address is being used for a publishing framework subscriber.static final StringWebDAV URL type code: collectionstatic final StringWebDAV URL type code: parentFields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATAFields inherited from interface com.sas.services.information.metadata.SubscriberInterface
SUBSCRIBER_CONTENT, SUBSCRIBER_EVENT -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntryExclusionFilter(String filter) Add an entry exclusion filter to this subscriber.voidaddEntryInclusionFilter(String filter) Add an entry inclusion filter to this subscriber.voidaddFileMimeTypeExclusionFilter(String filter) Add a file type exclusion filter.voidaddFileMimeTypeInclusionFilter(String filter) Add a file type inclusion filter.voidaddNameValueExclusionFilter(String filter) Adds a name/value exclusion filter to the subscriber.voidaddNameValueInclusionFilter(String filter) Adds a name/value inclusion filter to the subscriber.ListGets the entry exclusion filters defined for filtering content to this subscriber.ListGets the entry inclusion filters defined for filtering content to this subscriber.ListGets the file MIME type exclusion filters for this user.ListGets the file MIME type inclusion filters for this user.StringGets the receive method this subscriber prefers (value or reference).StringSets the type of url.StringGets the email format for this subcriber.StringgetMail()Gets the mail address to send to for this subscriber.ListGets the name/value exclusion filters defined for filtering data received by this subscriber identity.ListGets the name/value inclusion filters defined for filtering data received by this subscriber identity.voidremoveEntryExclusionFilter(String filter) Remove an entry exclusion filter from this subscriber.voidremoveEntryInclusionFilter(String filter) Remove an entry inclusion filter from the subscriber.voidremoveFileMimeTypeExclusionFilter(String filter) Remove a file type exclusion filter.voidremoveFileMimeTypeInclusionFilter(String filter) Remove a file type inclusion filter.voidRemove all filters for this subscriber.voidremoveNameValueExclusionFilter(String filter) Remove a name/value exclusion filter from the subscriber.voidremoveNameValueInclusionFilter(String filter) Remove a name/value inclusion filter from the subscriber.voidsetArchiveReceiveBy(String receiveBy) Sets the preferred mechanism for receiving published archives (value or reference).voidsetDavUrlType(String type) Sets the type of url.voidsetEmailFormat(String emailFormat) Sets the preferred email format for this subscriber.voidsetMail(String mail) Sets the mail address to send to for this user.Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptorMethods inherited from interface com.sas.services.information.metadata.SubscriberInterface
getContentDestination, getDeliveryTransport, getMessageQueue, getMessageQueue, getPerson, getQueueName, getSubscribedChannels, setContentDestination, setDeliveryTransport, setMessageQueue, setPerson, setQueueName, validate
-
Field Details
-
EMAIL_FORMAT_HTML
static final String EMAIL_FORMAT_HTMLEmail format code: HTML- See Also:
-
EMAIL_FORMAT_TEXT
static final String EMAIL_FORMAT_TEXTEmail format code: text- See Also:
-
DEFAULT_EMAIL_FORMAT
static final String DEFAULT_EMAIL_FORMATThe default Email format.- See Also:
-
EMAIL_TYPE
static final String EMAIL_TYPEA value used to indicate that the Email address is being used for a publishing framework subscriber.- See Also:
-
WEBDAV_URL_TYPE_COLLECTION
static final String WEBDAV_URL_TYPE_COLLECTIONWebDAV URL type code: collection- See Also:
-
WEBDAV_URL_TYPE_PARENT
static final String WEBDAV_URL_TYPE_PARENTWebDAV URL type code: parent- See Also:
-
DEFAULT_WEBDAV_URL_TYPE
static final String DEFAULT_WEBDAV_URL_TYPEThe default WebDAV URL type code.- See Also:
-
-
Method Details
-
getMail
Gets the mail address to send to for this subscriber.- Returns:
- The mail address, or null if there isn't one.
- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
setMail
Sets the mail address to send to for this user.- Parameters:
mail- The mail address- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
getEmailFormat
Gets the email format for this subcriber. The format will be one of the following:- Returns:
- The preferred format for published email for this subscriber.
This value will be one of
EMAIL_FORMAT_HTMLorEMAIL_FORMAT_TEXT - Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
setEmailFormat
Sets the preferred email format for this subscriber. The format must be one of the following:- Parameters:
emailFormat- The preferred email format. This value must be one ofEMAIL_FORMAT_HTMLorEMAIL_FORMAT_TEXT- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
getArchiveReceiveBy
Gets the receive method this subscriber prefers (value or reference).- Returns:
- The preferred receive mechanism for this subscriber.
- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
setArchiveReceiveBy
Sets the preferred mechanism for receiving published archives (value or reference).- Parameters:
receiveBy- method for receiving archive data.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
nameValueInclusionFilters
Gets the name/value inclusion filters defined for filtering data received by this subscriber identity.- Returns:
- The name/value inclusion filter iterator.
- Throws:
ServiceException- if a service level error occurs.RemoteException- in the event of remote object failure.
-
addNameValueInclusionFilter
Adds a name/value inclusion filter to the subscriber.- Parameters:
filter- The new package inclusion filter.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
removeNameValueInclusionFilter
Remove a name/value inclusion filter from the subscriber.- Parameters:
filter- The package inclusion filter to remove.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
nameValueExclusionFilters
Gets the name/value exclusion filters defined for filtering data received by this subscriber identity.- Returns:
- The name/value exclusion filter List.
- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
addNameValueExclusionFilter
Adds a name/value exclusion filter to the subscriber.- Parameters:
filter- The new package exclusion filter.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
removeNameValueExclusionFilter
Remove a name/value exclusion filter from the subscriber.- Parameters:
filter- The package exclusion filter to remove.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
entryExclusionFilters
Gets the entry exclusion filters defined for filtering content to this subscriber.- Returns:
- the entry exclusion filters for this user.
- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
addEntryExclusionFilter
Add an entry exclusion filter to this subscriber.- Parameters:
filter- The new entry exclusion filter.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
removeEntryExclusionFilter
Remove an entry exclusion filter from this subscriber.- Parameters:
filter- The entry exclusion filter to remove.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
entryInclusionFilters
Gets the entry inclusion filters defined for filtering content to this subscriber.- Returns:
- the entry inclusion filters for this user.
- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
addEntryInclusionFilter
Add an entry inclusion filter to this subscriber.- Parameters:
filter- The entry inclusion filter to add.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
removeEntryInclusionFilter
Remove an entry inclusion filter from the subscriber.- Parameters:
filter- The entry inclusion filter to remove.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
fileMimeTypeExclusionFilters
Gets the file MIME type exclusion filters for this user.- Returns:
- The file MIME type exclusion filters.
- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
addFileMimeTypeExclusionFilter
Add a file type exclusion filter.- Parameters:
filter- The new file type exclusion filter.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
removeFileMimeTypeExclusionFilter
Remove a file type exclusion filter.- Parameters:
filter- The file type exclusion filter to remove.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
fileMimeTypeInclusionFilters
Gets the file MIME type inclusion filters for this user.- Returns:
- The file MIME type inclusion filters.
- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
addFileMimeTypeInclusionFilter
Add a file type inclusion filter.- Parameters:
filter- The file type inclusion filter to add.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
removeFileMimeTypeInclusionFilter
Remove a file type inclusion filter.- Parameters:
filter- The file type inclusion filter to remove.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
getDavUrlType
Sets the type of url. For webDAV servers, the url can either be a parent or collection url.- Returns:
- The type of url, parent or collection.
- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
setDavUrlType
Sets the type of url. For webDAV servers, the url can either be a parent or collection url.- Parameters:
type- The type of url, parent or collection.- Throws:
ServiceException- if a service level error occurs.RemoteException- if a network anomaly is encountered.
-
removeFilters
Remove all filters for this subscriber. This will remove all inclusion and exclusion filters for name/value pairs, MIME types and entry types.- Throws:
ServiceException- if an exception was encountered removing the filters.RemoteException- if a networking issue is encountered.
-