Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.model.persistence
Class AbstractContribution

java.lang.Object
  extended by org.nuxeo.runtime.model.persistence.AbstractContribution
All Implemented Interfaces:
Contribution, StreamRef
Direct Known Subclasses:
ContributionBuilder, ContributionFile, ContributionLocation

public abstract class AbstractContribution
extends Object
implements Contribution

Author:
Bogdan Stefanescu

Method Summary
 String getDescription()
          Gets the contribution description.
 String getId()
          Get an unique identifier for this stream.
 String getName()
          Gets the contribution name.
 boolean isDisabled()
          Whether this contribution should be automatically installed at startup.
 void setDescription(String description)
          Sets the contribution description.
 void setDisabled(boolean isDisabled)
          Sets the auto install flag for this contribution.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.runtime.model.persistence.Contribution
getContent, getStream
 
Methods inherited from interface org.nuxeo.runtime.model.StreamRef
asURL
 

Method Detail

getId

public String getId()
Description copied from interface: StreamRef
Get an unique identifier for this stream.

Specified by:
getId in interface StreamRef

getName

public String getName()
Description copied from interface: Contribution
Gets the contribution name.

Specified by:
getName in interface Contribution

getDescription

public String getDescription()
Description copied from interface: Contribution
Gets the contribution description.

Specified by:
getDescription in interface Contribution

setDescription

public void setDescription(String description)
Description copied from interface: Contribution
Sets the contribution description.

Specified by:
setDescription in interface Contribution

isDisabled

public boolean isDisabled()
Description copied from interface: Contribution
Whether this contribution should be automatically installed at startup.

Specified by:
isDisabled in interface Contribution

setDisabled

public void setDisabled(boolean isDisabled)
Description copied from interface: Contribution
Sets the auto install flag for this contribution.

Specified by:
setDisabled in interface Contribution

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.