|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITFilter
A filter string is used to include or exclude content going to a specific subscriber. It can be used to filter entries in a package, or the entire package.
Attributes of ITFilter are:
Associations of ITFilter are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); ITFilter myObject = (ITFilter) factory.createComplexMetadataObject(objectStore, "ITFilter_Object", MetadataObjects.ITFILTER, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil
.
updateMetadataAll
method.
delete
method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
Field Summary | |
---|---|
static java.lang.String |
ASSOCIATION_FILTERSUBSCRIBER_NAME
Constant used for the name of the FilterSubscriber association. |
static java.lang.String |
ATTRIBUTE_FILTERROLE_NAME
Constant used for the name of the FilterRole attribute. |
static java.lang.String |
ATTRIBUTE_FILTERSTRING_NAME
Constant used for the name of the FilterString attribute. |
Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
Method Summary | |
---|---|
java.lang.String |
getFilterRole()
Gets the String value of FilterRole |
int |
getFilterRoleMaxLength()
Gets the maximum length of FilterRole |
int |
getFilterRoleState()
Gets the Metadata State of FilterRole |
java.lang.String |
getFilterString()
Gets the String value of FilterString |
int |
getFilterStringMaxLength()
Gets the maximum length of FilterString |
int |
getFilterStringState()
Gets the Metadata State of FilterString |
ITContentSubscriber |
getFilterSubscriber()
Gets the ITContentSubscriber for FilterSubscriber |
AssociationList |
getFilterSubscribers()
Gets the AssociationList of FilterSubscribers |
AssociationList |
getFilterSubscribers(boolean fGoToServer)
Gets the Associationlist of FilterSubscribers |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: FilterSubscriber |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setFilterRole(java.lang.String inFilterRole)
Sets the FilterRole value and sets the state to MetadataState.LOCAL. |
void |
setFilterRole(java.lang.String inFilterRole,
int state)
Sets the FilterRole Metadata State. |
void |
setFilterRoleState(int state)
Sets the Metadata State of FilterRole . |
void |
setFilterString(java.lang.String inFilterString)
Sets the FilterString value and sets the state to MetadataState.LOCAL. |
void |
setFilterString(java.lang.String inFilterString,
int state)
Sets the FilterString Metadata State. |
void |
setFilterStringState(int state)
Sets the Metadata State of FilterString . |
void |
setFilterSubscriber(ITContentSubscriber inObject)
Sets the FilterSubscribers list 0th element to be inObject . |
void |
setFilterSubscribers(AssociationList list)
Sets the FilterSubscribers list to be list . |
void |
setFilterSubscribers(AssociationList list,
int state)
Sets the FilterSubscribers list to be list . |
Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
Field Detail |
---|
static final java.lang.String ATTRIBUTE_FILTERSTRING_NAME
FilterString: Filter string to control content delivered to specific subscriber identities.
static final java.lang.String ATTRIBUTE_FILTERROLE_NAME
FilterRole: The role this filter plays in the subscriber definition. Valid values are: NameValueInclusionFilter NameValueExclusionFilter EntryInclusionFilter EntryExclusionFilter FileMIMETypeInclusionFilter FileMIMETypeExclusionFilter
static final java.lang.String ASSOCIATION_FILTERSUBSCRIBER_NAME
FilterSubscriber: The subscriber that uses this content filter.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
FilterSubscriber
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getFilterString() throws java.rmi.RemoteException
String
value of FilterString
FilterString
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFilterStringState() throws java.rmi.RemoteException
FilterString
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFilterStringMaxLength() throws java.rmi.RemoteException
FilterString
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getFilterRole() throws java.rmi.RemoteException
String
value of FilterRole
FilterRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFilterRoleState() throws java.rmi.RemoteException
FilterRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFilterRoleMaxLength() throws java.rmi.RemoteException
FilterRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getFilterSubscribers() throws java.rmi.RemoteException, MdException
FilterSubscribers
FilterSubscribers
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
ITContentSubscriber getFilterSubscriber() throws java.rmi.RemoteException, MdException
ITContentSubscriber
for FilterSubscriber
ITContentSubscriber
( null
if not set) of FilterSubscriber
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getFilterSubscribers(boolean fGoToServer) throws java.rmi.RemoteException, MdException
FilterSubscribers
fGoToServer
- boolean Get the value from the server.
FilterSubscribers
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.void setFilterString(java.lang.String inFilterString) throws java.rmi.RemoteException
FilterString
value and sets the state to MetadataState.LOCAL.
inFilterString
- String
java.rmi.RemoteException
- If error communicating with remote object.void setFilterString(java.lang.String inFilterString, int state) throws java.rmi.RemoteException
FilterString
Metadata State.
inFilterString
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFilterStringState(int state) throws java.rmi.RemoteException
FilterString
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFilterRole(java.lang.String inFilterRole) throws java.rmi.RemoteException
FilterRole
value and sets the state to MetadataState.LOCAL.
inFilterRole
- String
java.rmi.RemoteException
- If error communicating with remote object.void setFilterRole(java.lang.String inFilterRole, int state) throws java.rmi.RemoteException
FilterRole
Metadata State.
inFilterRole
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFilterRoleState(int state) throws java.rmi.RemoteException
FilterRole
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFilterSubscribers(AssociationList list) throws java.rmi.RemoteException
FilterSubscribers
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setFilterSubscribers(AssociationList list, int state) throws java.rmi.RemoteException
FilterSubscribers
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFilterSubscriber(ITContentSubscriber inObject) throws java.rmi.RemoteException
FilterSubscribers
list 0th element to be inObject
.
inObject
- ITContentSubscriber
java.rmi.RemoteException
- If error communicating with remote object.
|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |