|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.metadata.Folder
public class Folder
This class implements the FolderInterface. It allows manipulation of a folder, getting, adding, removing or deleting contents (items) or subfolders.
Client code should avoid casting to this class. Instead, cast to FolderInterface.
Field Summary | |
---|---|
static java.lang.String |
CREATION_DATE
|
static com.sas.util.UsageVersion |
CURRENT_VERSION
|
static java.lang.String |
MODIFIED_DATE
|
static com.sas.util.UsageVersion |
OLDEST_VERSION
|
static java.lang.String |
REPOSITORY_CONTENT_MAPPING
Deprecated. |
Fields inherited from class com.sas.services.information.metadata.Metadata |
---|
_actionInterfaces, _children, _isCompatible, _isDestroyPending, _isReadCompatible, _myRefreshInterval, _myState, _omrCreateDate, _omrModifyDate, _repository, _repositoryFlag, _repositoryObject, _treeRefreshTime, formats, gmtZone, OMSOBJ_STRING, REPOSITORY_DAV, REPOSITORY_LOMR, REPOSITORY_NONE, REPOSITORY_OMR, SLASH |
Fields inherited from interface com.sas.services.information.metadata.FolderInterface |
---|
FOLDER_TYPE_BIP |
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
Constructor Summary | |
---|---|
|
Folder()
Default constructor. |
|
Folder(java.lang.Object o)
Construct a folder given an object to initialize with. |
protected |
Folder(java.lang.Object o,
java.lang.Class theClass)
Construct a folder given an object to initialize with. |
|
Folder(RepositoryInterface repos,
java.lang.String name,
FolderInterface parent)
Construct a new Folder metadata object using the Repository name and parent folder. |
|
Folder(com.sas.metadata.remote.Tree o)
|
|
Folder(com.sas.metadata.remote.impl.TreeImpl_Stub o)
|
|
Folder(com.sas.metadata.remote.impl.TreeImpl o)
|
Method Summary | |
---|---|
void |
addChild(PublicObjectInterface newChild)
Add a child to this container. |
void |
addItem(MetadataInterface item)
Add an item to the folder. |
MetadataInterface |
addNewItem(java.lang.String name,
java.lang.String type)
Create a new metadata object to add to the folder. |
void |
addSubfolder(FolderInterface folder)
Add an existing folder to this one as a subfolder. |
FolderInterface |
copyTo(FolderInterface folder,
java.lang.String name)
Make a copy of this object. |
void |
delete()
Delete this object from its repository. |
void |
deleteItem(MetadataInterface item)
Delete an item from this folder. |
void |
deleteSubfolder(java.lang.String name)
Delete a subfolder. |
PublicObjectInterface |
getChildAt(int index)
Returns a child item at the specified location |
int |
getChildCount()
Returns the number of children within this container. |
java.util.List |
getChildren()
Get a List of the children of this container. |
java.util.List |
getChildren(java.lang.String type)
Get a list of children of a specific type. |
java.util.Date |
getContentCreateDate()
Get the content create date. |
ContentInfo |
getContentInfo()
Returns the ContentInfo object corresponding to the root of the
given PathUrl. |
java.util.Date |
getContentModifyDate()
Get the content modification date. |
static long |
getFolderRefresh()
Get the interval for keeping cached subfolder information before forcing a trip to the server to refresh it. |
java.lang.String |
getFolderType()
Get the folder type. |
MetadataInterface |
getItem(java.lang.String name)
Get a named item from the folder. |
MetadataInterface |
getItemByClass(java.lang.String name,
java.lang.Class itemClass)
Get a named item from the folder. |
MetadataInterface |
getItemByType(java.lang.String name,
java.lang.String metadataType)
Get a named item from the folder. |
static long |
getItemRefresh()
Get the interval to keep member item information before forcing a trip to the server to refresh it. |
java.util.List |
getItems()
List all items in the folder. |
java.util.List |
getItemsByClass(java.lang.Class itemClass)
List the items in the folder that match the Class passed in as a parameter. |
java.util.List |
getItemsByType(java.lang.String metadataType)
Get a list of items in the folder of a specific type. |
java.util.List |
getItemSublist(int start,
int end)
Get a sublist of items from this folder |
java.util.List |
getItemSublist(int start,
int end,
java.lang.String sort)
Get a sublist of items from this folder which are sorted. |
com.sas.storage.editableproperties.PropertyList |
getLocalizableProperties()
|
FolderInterface |
getParent()
Get parent folder. |
java.lang.String |
getPath()
Get the path string for this Folder. |
FolderInterface |
getSubfolder(java.lang.String name)
Get a named subfolder. |
java.util.List |
getSubfolders()
Get all the folders immediately below this one in the hiearchy. |
int |
getTotalNumberOfItems()
Get the total number of items in this folder |
java.lang.String |
getType()
Return a type string to identify this object. |
boolean |
hasContentBackedItems()
|
boolean |
hasContentBacking()
|
boolean |
hasDuplicate(java.lang.String name,
java.lang.String type)
Check if there's a duplicate object in this folder with the same name and of the same type. |
boolean |
hasDuplicateSubfolder(java.lang.String name)
Determines if this folder already has a subfolder with the given name. |
boolean |
hasDuplicateSubfolder(java.lang.String name,
FolderInterface subFolderToExclude)
Determines if this folder already has a subfolder with the given name excluding the specified subfolder. |
void |
insertChild(PublicObjectInterface child,
int index)
Inserts a child into the parent container at the specified index. |
boolean |
isEmpty()
Returns true if this folder has no subfolders and no member objects. |
boolean |
isItemNameUnique(MetadataInterface member)
Validate that the name of the metadata object is unique within the Folder. |
FolderInterface |
makeSubfolder(java.lang.String name)
Makes a subfolder under the current folder. |
FolderInterface |
makeSubfolder(java.lang.String name,
java.lang.String type)
Create a new Folder with the given name of the given type and make it a new subfolder of this folder. |
java.lang.String |
mapNameToFilesystem(int hostOS,
java.lang.String prefix,
java.lang.String suffix)
Map the metadata object name to a file system path. |
java.lang.String |
mapUrlToFilesystem(int hostOS,
java.lang.String prefix,
java.lang.String suffix)
Map the metadata object's SBIP Url to a file system path. |
boolean |
moveMembersOnOverflow()
Check for too many objects in a folder. |
void |
moveTo(FolderInterface folder)
Move this object to a new folder. |
PublicObjectInterface |
newChild(java.lang.String type,
java.lang.String name)
Create a new metadata object and add it to the container. |
java.lang.Object |
newServiceObject()
For objects that support it, get an "active" interface for the metadata object. |
void |
refresh()
Refresh the data for this object from the repository. |
void |
removeChild(PublicObjectInterface child)
Remove a child from this container. |
void |
removeItem(MetadataInterface item)
Remove an item from the folder. |
void |
removeSubfolder(java.lang.String name)
Remove a subfolder from the current folder. |
void |
setContentCreateDate(java.util.Date date)
Set the Date that the content folder was created. |
void |
setContentModifyDate(java.util.Date date)
Set the date when an object was last added to or removed from this folder. |
static void |
setFolderRefresh(long interval)
Set the interval for keeping cached subfolder information before forcing a trip to the server to refresh it. |
void |
setFolderType(java.lang.String type)
Set the folder type. |
static void |
setItemRefresh(long interval)
Set the interval to keep member item information before forcing a trip to the server to refresh it. |
void |
setLocalizableProperties(com.sas.storage.editableproperties.PropertyMap map)
|
void |
setName(java.lang.String name)
Set the name of the object. |
void |
setRepository(RepositoryInterface ri)
Set the repository that this item exists in. |
void |
upgradeFromPreviousVersion()
Upgrades an object from a previous version to the most current version supported. |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Field Detail |
---|
@Deprecated public static final java.lang.String REPOSITORY_CONTENT_MAPPING
public static final java.lang.String CREATION_DATE
public static final java.lang.String MODIFIED_DATE
public static final com.sas.util.UsageVersion OLDEST_VERSION
public static final com.sas.util.UsageVersion CURRENT_VERSION
Constructor Detail |
---|
public Folder() throws java.rmi.RemoteException
java.rmi.RemoteException
- in the event of remote object failure.public Folder(java.lang.Object o) throws java.rmi.RemoteException
o
- The repository object to initialize with.
java.rmi.RemoteException
- in the event of remote object failure.protected Folder(java.lang.Object o, java.lang.Class theClass) throws java.rmi.RemoteException
o
- The repository object to initialize with.theClass
- Class which will be used to determine the appropriate RMI
socket factories.
java.rmi.RemoteException
- in the event of remote object failure.public Folder(com.sas.metadata.remote.Tree o) throws java.rmi.RemoteException
java.rmi.RemoteException
public Folder(com.sas.metadata.remote.impl.TreeImpl o) throws java.rmi.RemoteException
java.rmi.RemoteException
public Folder(com.sas.metadata.remote.impl.TreeImpl_Stub o) throws java.rmi.RemoteException
java.rmi.RemoteException
public Folder(RepositoryInterface repos, java.lang.String name, FolderInterface parent) throws java.rmi.RemoteException
repos
- The Repository in which this object resides.name
- The name of the new Folder.parent
-
java.rmi.RemoteException
Method Detail |
---|
public static void setFolderRefresh(long interval)
interval
- The interval in milliseconds to keep the cached subfolder
information.public static long getFolderRefresh()
public static void setItemRefresh(long interval)
interval
- The interval in milliseconds to keep the cached member item
information.public static long getItemRefresh()
public java.lang.String getType() throws java.rmi.RemoteException
getType
in interface MetadataInterface
getType
in class Metadata
java.rmi.RemoteException
- in the event of remote object failure.public java.lang.String getPath() throws java.rmi.RemoteException
getPath
in interface FolderInterface
java.rmi.RemoteException
- in the event of remote object failure.public java.util.List getItems() throws ServiceException, java.rmi.RemoteException
getItems
in interface FolderInterface
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public java.util.List getItemsByType(java.lang.String metadataType) throws ServiceException, java.rmi.RemoteException
getItemsByType
in interface FolderInterface
metadataType
- A String that will match the output from the object's getType
method.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public java.util.List getItemsByClass(java.lang.Class itemClass) throws ServiceException, java.rmi.RemoteException
getItemsByClass
in interface FolderInterface
itemClass
- The Class used to filter the folder objects to return.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public MetadataInterface getItem(java.lang.String name) throws ServiceException, java.rmi.RemoteException
getItem
in interface FolderInterface
name
- The name of the object to return.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public MetadataInterface getItemByType(java.lang.String name, java.lang.String metadataType) throws ServiceException, java.rmi.RemoteException
getItemByType
in interface FolderInterface
name
- The name of the object to return.metadataType
- The type of object to return.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public MetadataInterface getItemByClass(java.lang.String name, java.lang.Class itemClass) throws ServiceException, java.rmi.RemoteException
getItemByClass
in interface FolderInterface
name
- The name of the object to return.itemClass
- The Class of the object to return.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public java.util.List getSubfolders() throws ServiceException, java.rmi.RemoteException
getSubfolders
in interface FolderInterface
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public FolderInterface getSubfolder(java.lang.String name) throws ServiceException, java.rmi.RemoteException
getSubfolder
in interface FolderInterface
name
- The name of the folder to return.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public void addItem(MetadataInterface item) throws ServiceException, java.rmi.RemoteException
addItem
in interface FolderInterface
item
- The item to add to this folder.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public MetadataInterface addNewItem(java.lang.String name, java.lang.String type) throws ServiceException, java.rmi.RemoteException
addNewItem
in interface FolderInterface
name
- The name of the new object.type
- The repository-specific type of the new object.
ServiceException
- In the event of repository failure.
java.rmi.RemoteException
- In the event of remote object failure.public void removeItem(MetadataInterface item) throws ServiceException, java.rmi.RemoteException
removeItem
in interface FolderInterface
item
- The item to remove from this folder.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public void deleteItem(MetadataInterface item) throws ServiceException, java.rmi.RemoteException
deleteItem
in interface FolderInterface
item
- The item to delete from this folder.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public FolderInterface makeSubfolder(java.lang.String name, java.lang.String type) throws java.rmi.RemoteException, ServiceException
makeSubfolder
in interface FolderInterface
name
- The name of the new subfolder.type
- The public object type of the new subfolder. If this is null,
the default folder type is created.
java.rmi.RemoteException
- In the event of remote object failure.
ServiceException
- If a repository error occurs.public FolderInterface makeSubfolder(java.lang.String name) throws ServiceException, java.rmi.RemoteException
makeSubfolder
in interface FolderInterface
name
- The name of the folder to create.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public void addSubfolder(FolderInterface folder) throws ServiceException, java.rmi.RemoteException
addSubfolder
in interface FolderInterface
folder
- The folder to add to this one as a subfolder.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public void removeSubfolder(java.lang.String name) throws ServiceException, java.rmi.RemoteException
removeSubfolder
in interface FolderInterface
name
- The name of the subfolder to remove.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public void deleteSubfolder(java.lang.String name) throws ServiceException, java.rmi.RemoteException
deleteSubfolder
in interface FolderInterface
name
- The name of the subfolder to delete.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public FolderInterface copyTo(FolderInterface folder, java.lang.String name) throws ServiceException, java.rmi.RemoteException
Metadata
copyTo
in interface MetadataInterface
copyTo
in class Metadata
folder
- The folder to be the parent of the new object.name
- The name of the new object.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public void moveTo(FolderInterface folder) throws ServiceException, java.rmi.RemoteException
Metadata
moveTo
in interface MetadataInterface
moveTo
in class Metadata
folder
- The new parent Folder of this object.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public void delete() throws ServiceException, java.rmi.RemoteException
Metadata
delete
in interface MetadataInterface
delete
in class Metadata
ServiceException
- in the event of a repository failure.
java.rmi.RemoteException
- in the event of a network failure.public FolderInterface getParent() throws ServiceException, java.rmi.RemoteException
If the current folder has more than one parent, the preferred (first) parent folder is returned.
getParent
in interface FolderInterface
getParent
in interface MetadataInterface
getParent
in class Metadata
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public boolean isItemNameUnique(MetadataInterface member) throws ServiceException, java.rmi.RemoteException
isItemNameUnique
in interface FolderInterface
member
- The item to check for a unique name in the folder.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public boolean hasDuplicate(java.lang.String name, java.lang.String type) throws ServiceException, java.rmi.RemoteException
FolderInterface
hasDuplicate
in interface FolderInterface
name
- The name to check for.type
- The type to check for. This should be the value of the
PublicType attribute because I can't necessarily instantiate the object
if the current user doesn't have ReadMetadata permission on it. I need to
construct a filter to do a getCountNoSecurity with.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public boolean hasDuplicateSubfolder(java.lang.String name) throws ServiceException, java.rmi.RemoteException
hasDuplicateSubfolder
in interface FolderInterface
name
- The name of the subfolder to check for.
true
if this folder has a subfolder with the given name,
false
otherwise.
ServiceException
- if a metadata server, or other service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.hasDuplicateSubfolder(String, FolderInterface)
public boolean hasDuplicateSubfolder(java.lang.String name, FolderInterface subFolderToExclude) throws ServiceException, java.rmi.RemoteException
This method can be used to determine if a new name is valid for a subfolder by checking to see if a duplicate subfolder already exists other than the subfolder being checked.
name
- The name of the subfolder to check for.subFolderToExclude
- The subfolder which should be excluded or
null
if a subfolder should not be excluded from
this check.
true
if this folder has a subfolder with the given name,
false
otherwise.
ServiceException
- if a metadata server, or other service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public boolean isEmpty() throws ServiceException, java.rmi.RemoteException
FolderInterface
FolderInterface.getSubfolders()
and
FolderInterface.getItems()
return empty lists due to objects hidden
by access controls.
isEmpty
in interface FolderInterface
ServiceException
- If a metadata server, or other service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public void setRepository(RepositoryInterface ri) throws java.rmi.RemoteException
Metadata
setRepository
in interface MetadataInterface
setRepository
in class Metadata
ri
- A handle to the repository for this object.
java.rmi.RemoteException
- in the event of remote object failurepublic void setFolderType(java.lang.String type) throws ServiceException, java.rmi.RemoteException
setFolderType
in interface FolderInterface
type
- The String indicating the type of the folder.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public java.lang.String getFolderType() throws ServiceException, java.rmi.RemoteException
getFolderType
in interface FolderInterface
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public void setName(java.lang.String name) throws java.rmi.RemoteException
setName
in interface MetadataInterface
setName
in class Metadata
name
- The name of the object in the repository.
java.rmi.RemoteException
- in the event of remote object failure.public java.lang.String mapNameToFilesystem(int hostOS, java.lang.String prefix, java.lang.String suffix) throws java.rmi.RemoteException, java.lang.IllegalArgumentException
mapNameToFilesystem
in interface MetadataInterface
mapNameToFilesystem
in class Metadata
hostOS
- The host operating system. Valid values include
Names.UNKNOWN
,
Names.WINDOWS
,
Names.UNIX
,
Names.ZOS_HFS
,
Names.ZOS_PDS
and
Names.WEBDAV
.prefix
- The prefix to use when creating the file system path.suffix
- The suffix to use when creating the file system path.
String
The file system path.
java.rmi.RemoteException
- In the event of remote object failure.
java.lang.IllegalArgumentException
- If a null
name is specified or if an invalid
host operating system value is specified.public java.lang.String mapUrlToFilesystem(int hostOS, java.lang.String prefix, java.lang.String suffix) throws ServiceException, java.rmi.RemoteException, java.lang.IllegalArgumentException
mapUrlToFilesystem
in interface MetadataInterface
mapUrlToFilesystem
in class Metadata
hostOS
- The host operating system. Valid values include
Names.UNKNOWN
,
Names.WINDOWS
,
Names.UNIX
,
Names.ZOS_HFS
,
Names.ZOS_PDS
and
Names.WEBDAV
.prefix
- The prefix to use when creating the file system path.suffix
- The suffix to use when creating the file system path.
String
The file system path.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.
java.lang.IllegalArgumentException
- If a null
name is specified or if an invalid
host operating system value is specified.public java.util.List getItemSublist(int start, int end) throws java.rmi.RemoteException, ServiceException
FolderInterface
getItemSublist
in interface FolderInterface
start
- item number to start atend
- item number to end at
java.rmi.RemoteException
ServiceException
public java.util.List getItemSublist(int start, int end, java.lang.String sort) throws java.rmi.RemoteException, ServiceException
FolderInterface
getItemSublist
in interface FolderInterface
start
- item number to start atend
- item number to end atsort
- one of name, namedescending, desc, descdescending, date, datedescending, type, typedescending, defaults to name
java.rmi.RemoteException
ServiceException
public int getTotalNumberOfItems() throws java.rmi.RemoteException, ServiceException
FolderInterface
getTotalNumberOfItems
in interface FolderInterface
java.rmi.RemoteException
ServiceException
public java.util.List getChildren() throws ServiceException, java.rmi.RemoteException
PublicObjectContainerInterface
getChildren
in interface PublicObjectContainerInterface
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public java.util.List getChildren(java.lang.String type) throws ServiceException, java.rmi.RemoteException
PublicObjectContainerInterface
getChildren
in interface PublicObjectContainerInterface
type
- The "type abbreviation" which will be used to filter the
children returned from the container.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public PublicObjectInterface getChildAt(int index) throws ServiceException, java.rmi.RemoteException
PublicObjectContainerInterface
getChildAt
in interface PublicObjectContainerInterface
index
- the index of the child
ServiceException
java.rmi.RemoteException
public int getChildCount() throws ServiceException, java.rmi.RemoteException
PublicObjectContainerInterface
getChildCount
in interface PublicObjectContainerInterface
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public void insertChild(PublicObjectInterface child, int index) throws ServiceException, java.rmi.RemoteException
MutableContainerInterface
insertChild
in interface MutableContainerInterface
child
- the new child to add to this containerindex
- the index where the child is to be inserted into
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public void addChild(PublicObjectInterface newChild) throws ServiceException, java.rmi.RemoteException
MutableContainerInterface
addChild
in interface MutableContainerInterface
newChild
- The new child object to add to this container.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public void removeChild(PublicObjectInterface child) throws ServiceException, java.rmi.RemoteException
MutableContainerInterface
removeChild
in interface MutableContainerInterface
child
- The child to remove from this container.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public PublicObjectInterface newChild(java.lang.String type, java.lang.String name) throws ServiceException, java.rmi.RemoteException
PublicObjectContainerInterface
newChild
in interface PublicObjectContainerInterface
type
- The public object type to add to the container.name
- The name of the new object
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object faiure.public void refresh() throws ServiceException, java.rmi.RemoteException
Metadata
refresh
in interface MetadataInterface
refresh
in class Metadata
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public ContentInfo getContentInfo() throws java.lang.IllegalStateException, ServiceException, java.rmi.RemoteException
ContentInfo
object corresponding to the root of the
given PathUrl.
Implementation Note: computed results are cached; repeated calls are not expensive.
getContentInfo
in interface FolderInterface
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.
java.lang.IllegalStateException
public java.util.Date getContentCreateDate() throws ServiceException, java.rmi.RemoteException
FolderInterface
getContentCreateDate
in interface FolderInterface
ServiceException
- If a service level error occured.
java.rmi.RemoteException
- In the event of remote object failure.public void setContentCreateDate(java.util.Date date) throws ServiceException, java.rmi.RemoteException
FolderInterface
setContentCreateDate
in interface FolderInterface
date
- The date that the mapped content folder was created.
ServiceException
- If a service level error occured.
java.rmi.RemoteException
- In the event of remote object failure.public java.util.Date getContentModifyDate() throws ServiceException, java.rmi.RemoteException
FolderInterface
getContentModifyDate
in interface FolderInterface
ServiceException
- If a service level error occured.
java.rmi.RemoteException
- In the event of remote object failure.public void setContentModifyDate(java.util.Date date) throws ServiceException, java.rmi.RemoteException
FolderInterface
setContentModifyDate
in interface FolderInterface
date
- The last time the contents of this folder were modified.
ServiceException
- If a service level error occured.
java.rmi.RemoteException
- In the event of remote object failure.public java.lang.Object newServiceObject() throws ServiceException, java.rmi.RemoteException
Metadata
newServiceObject
in interface MetadataInterface
newServiceObject
in class Metadata
ServiceException
- if an error occurs
java.rmi.RemoteException
- in the event of remote object failurepublic com.sas.storage.editableproperties.PropertyList getLocalizableProperties()
getLocalizableProperties
in interface com.sas.storage.editableproperties.LocalizableProperties
public void setLocalizableProperties(com.sas.storage.editableproperties.PropertyMap map)
setLocalizableProperties
in interface com.sas.storage.editableproperties.LocalizableProperties
public boolean moveMembersOnOverflow() throws ServiceException, java.rmi.RemoteException
FolderInterface
moveMembersOnOverflow
in interface FolderInterface
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.public boolean hasContentBacking() throws java.rmi.RemoteException, ServiceException
java.rmi.RemoteException
ServiceException
public boolean hasContentBackedItems() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
public void upgradeFromPreviousVersion() throws ServiceException, java.rmi.RemoteException
UpgradeInterface
upgradeFromPreviousVersion
in interface com.sas.services.util.UpgradeInterface
ServiceException
- if the object could not be upgraded
java.rmi.RemoteException
- a remote object failure
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |