public class FlatTruncatedOrganizer extends Object implements RepositoryOrganizer
| Constructor and Description |
|---|
FlatTruncatedOrganizer(Fedora3DataInterface fedora3Data)
A constructor that accepts the Fedora3DataInterface whose fedora objects
will be organized by this instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getChildrenForId(String id)
Returns the first 10 objects in the repository when invoked for the
root ID; otherwise throws an IllegalArgumentException.
|
String |
getParentForId(String id)
Returns null if the id isn't the root ID, and otherwise the root id.
|
boolean |
isOrganizationalNode(String id)
Returns true for the root id, false otherwise.
|
public FlatTruncatedOrganizer(Fedora3DataInterface fedora3Data)
public List<String> getChildrenForId(String id)
getChildrenForId in interface RepositoryOrganizerpublic String getParentForId(String id)
getParentForId in interface RepositoryOrganizerpublic boolean isOrganizationalNode(String id)
isOrganizationalNode in interface RepositoryOrganizerCopyright © 2013 DuraSpace, Inc.. All rights reserved.