public class PolicyObject extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
POLICY_DATASTREAM |
| Constructor and Description |
|---|
PolicyObject(DOManager manager,
Context context,
String pid,
String objectState,
String dsID,
String dsState)
Create a new PolicyObject, initialising the object based on the supplied parameters.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getDsContent()
get the policy datastream content
|
boolean |
hasPolicyDatastream()
determines if this object contains a policy datastream
|
boolean |
isDatastreamActive()
determines if the policy datastream in this object is active
|
boolean |
isObjectActive()
determines if this digital object is active
|
boolean |
isPolicyActive()
determines if this object represents an active FeSL policy
|
public static final String POLICY_DATASTREAM
public PolicyObject(DOManager manager, Context context, String pid, String objectState, String dsID, String dsState)
manager - context - pid - objectState - dsID - dsState - public boolean isPolicyActive()
throws ServerException
ServerExceptionpublic boolean isObjectActive()
throws ServerException
ServerExceptionpublic boolean isDatastreamActive()
throws ServerException
ServerExceptionpublic boolean hasPolicyDatastream()
throws ServerException
ServerExceptionpublic InputStream getDsContent() throws ServerException
ServerExceptionCopyright © 2013 DuraSpace. All Rights Reserved.