public class CommunityFiliator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CommunityService |
communityService |
protected HandleService |
handleService |
| Constructor and Description |
|---|
CommunityFiliator() |
| Modifier and Type | Method and Description |
|---|---|
void |
defiliate(Context c,
Community parent,
Community child) |
void |
filiate(Context c,
Community parent,
Community child) |
static void |
main(String[] argv) |
protected Community |
resolveCommunity(Context c,
String communityID)
Find a community by ID
|
protected CommunityService communityService
protected HandleService handleService
public static void main(String[] argv) throws Exception
argv - argumentsException - if errorpublic void filiate(Context c, Community parent, Community child) throws SQLException, AuthorizeException, IOException
c - contextparent - parent Communitychild - child communitySQLException - if database errorAuthorizeException - if authorize errorIOException - if IO errorpublic void defiliate(Context c, Community parent, Community child) throws SQLException, AuthorizeException, IOException
c - contextparent - parent Communitychild - child communitySQLException - if database errorAuthorizeException - if authorize errorIOException - if IO errorprotected Community resolveCommunity(Context c, String communityID) throws SQLException
c - contextcommunityID - community IDSQLException - if database errorCopyright © 2017 DuraSpace. All rights reserved.