org.apache.ace.client.repository.helper.user.impl
Class UserHelperImpl

java.lang.Object
  extended by org.apache.ace.client.repository.helper.user.impl.UserHelperImpl
All Implemented Interfaces:
org.apache.ace.client.repository.helper.ArtifactHelper, org.apache.ace.client.repository.helper.ArtifactRecognizer, UserAdminHelper

public class UserHelperImpl
extends Object
implements org.apache.ace.client.repository.helper.ArtifactRecognizer, UserAdminHelper


Field Summary
 
Fields inherited from interface org.apache.ace.client.repository.helper.user.UserAdminHelper
MIMETYPE, PROCESSOR
 
Fields inherited from interface org.apache.ace.client.repository.helper.ArtifactHelper
KEY_MIMETYPE
 
Constructor Summary
UserHelperImpl()
           
 
Method Summary
 boolean canHandle(String mimetype)
           
 boolean canUse(org.apache.ace.client.repository.object.ArtifactObject object)
           
 Map<String,String> checkAttributes(Map<String,String> attributes)
           
 Map<String,String> extractMetaData(URL artifact)
           
<TYPE extends org.apache.ace.client.repository.object.ArtifactObject>
String
getAssociationFilter(TYPE obj, Map<String,String> properties)
           
<TYPE extends org.apache.ace.client.repository.object.ArtifactObject>
int
getCardinality(TYPE obj, Map<String,String> properties)
           
 Comparator<org.apache.ace.client.repository.object.ArtifactObject> getComparator()
           
 String[] getDefiningKeys()
           
 String[] getMandatoryAttributes()
           
 org.apache.ace.client.repository.helper.ArtifactPreprocessor getPreprocessor()
           
 String recognize(URL artifact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserHelperImpl

public UserHelperImpl()
Method Detail

canHandle

public boolean canHandle(String mimetype)
Specified by:
canHandle in interface org.apache.ace.client.repository.helper.ArtifactRecognizer

extractMetaData

public Map<String,String> extractMetaData(URL artifact)
                                   throws IllegalArgumentException
Specified by:
extractMetaData in interface org.apache.ace.client.repository.helper.ArtifactRecognizer
Throws:
IllegalArgumentException

recognize

public String recognize(URL artifact)
Specified by:
recognize in interface org.apache.ace.client.repository.helper.ArtifactRecognizer

canUse

public boolean canUse(org.apache.ace.client.repository.object.ArtifactObject object)
Specified by:
canUse in interface org.apache.ace.client.repository.helper.ArtifactHelper

checkAttributes

public Map<String,String> checkAttributes(Map<String,String> attributes)
Specified by:
checkAttributes in interface org.apache.ace.client.repository.helper.ArtifactHelper

getAssociationFilter

public <TYPE extends org.apache.ace.client.repository.object.ArtifactObject> String getAssociationFilter(TYPE obj,
                                                                                                         Map<String,String> properties)
Specified by:
getAssociationFilter in interface org.apache.ace.client.repository.helper.ArtifactHelper

getCardinality

public <TYPE extends org.apache.ace.client.repository.object.ArtifactObject> int getCardinality(TYPE obj,
                                                                                                Map<String,String> properties)
Specified by:
getCardinality in interface org.apache.ace.client.repository.helper.ArtifactHelper

getComparator

public Comparator<org.apache.ace.client.repository.object.ArtifactObject> getComparator()
Specified by:
getComparator in interface org.apache.ace.client.repository.helper.ArtifactHelper

getDefiningKeys

public String[] getDefiningKeys()
Specified by:
getDefiningKeys in interface org.apache.ace.client.repository.helper.ArtifactHelper

getMandatoryAttributes

public String[] getMandatoryAttributes()
Specified by:
getMandatoryAttributes in interface org.apache.ace.client.repository.helper.ArtifactHelper

getPreprocessor

public org.apache.ace.client.repository.helper.ArtifactPreprocessor getPreprocessor()
Specified by:
getPreprocessor in interface org.apache.ace.client.repository.helper.ArtifactHelper


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.